Search code examples
androidadb

Adb copy from device


I am trying to copy a file from my device to my desktop using the following adb command:

adb shell run-as peachss.test.inspect pull  /data/data/peachss.test.inspect/files/Inspection.2.xml %USERPROFILE%\Desktop\

But it just say that Package 'peachss.test.inspect' is Unknown, but I can see that it is installed on the device

Edit 1: Forgot to mention, I am using the S4-Mini with Android 4 or 4.4


Solution

  • Its a recognized Android bug.

    More info here and here

    The issue is related to the use of "run-as", not "pull", is it totally needed for what you want to achieve?

    Hope this help.s