I pulled out a file from the android sdcard using adb and it seems it goes to c:\documents and settings\userName
by default. I don't know how it got set to this folder since this is not where adb is installed, but probably has got something to do with the fact that both the workspace
and .android
folders are located here. How do I change this default location for pull command of adb?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
The default directory for
adb pull
oradb push
seems to be the current directory (aka.
). If you issue a command such as the following, not specifying thetarget
directorythe file (provided it exists) will be copied to the current directory.
Windows users:
Take notice of the following: If you are using Windows (Vista or newer), chances are that if the current directory requires elevated privileges to write on, Windows will silently replicate the directory structure of your current directory in a special folder called
VirtualStore
and will copy your files in it.The full path for
VirtualStore
is:%LOCALAPPDATA%\VirtualStore
, which most likely will translate intoC:\Users\<account_name>\AppData\Local\VirtualStore
.So, in the following scenario,
your file
boot.txt
will end up in this folderyou can mention the
destination
location foradb push/pull
, see example:-.
means present directory.or
Hope this helps.
i'm using linux, and noticed that if i opened the terminal as root, its opened @ home. when i pull items, it dumps to that repository, meaning to my "home" directory. will try opening terminal in a different folder and running adb pull from there to see if that makes the files dump to the folder terminal is opened in.