Android: adb pull command not working/not able to perform
16,418
You should use adb pull /sdcard/PB
.
Comments
-
roger_that almost 2 years
I am trying to copy a complete directory on my device(
not rooted
) to a directory in my mac say/Users/myUserName/Documents/Copied
using the android Pull commands but every time I run the command, it gives me a message sayingremote object does not exist
.I used
File file = new File(Environment.getExternalStorageDirectory()+"/PB/").getAbsolutePath();
to get the absolute path of the directory in my device which comes out to be
/storage/emulated/0/PB
. Now I run the below command./adb pull /storage/emulated/0/PB /Users/myUserName/Documents/Copied/
and I get following response
remote object '/storage/emulated/0/PB' does not exist
I don't know whats wrong with my approach and why is this not working even if the directory is there in my device.
Please guide.