Issue
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 saying remote 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.
Solution
You should use adb pull /sdcard/PB
.
Answered By - pdegand59
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.