Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I'm trying to get the APK of an installed application from my device. I'm following the instructions in
this answer
but when pulling it, adb says the APK doesn't exist. This are the exact steps:
$ adb shell pm list packages
(whole list of packages)
$ adb shell pm path com.google.android.apps.books
package:/data/app/com.google.android.apps.books-1/base.apk
$ adb pull /data/app/com.google.android.apps.books-1/base.apk
adb: error: remote object '/data/app/com.google.android.apps.books-1/base.apk' does not exist
How can I pull this file to my local drive?
Try this:
$ adb shell cp /data/app/com.google.android.apps.books-1/base.apk /storage/emulated/0/Download/base.apk
$ adb pull /storage/emulated/0/Download/base.apk
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.