-
-
Save trantronghien/c3fcd6aae5866faa650fad53d5c0054f to your computer and use it in GitHub Desktop.
How do I get an apk file from an Android device?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
step 1: Connect Android device to pc | |
step 2: find package installed on device | |
+ adb shell pm list packages -f -3 | |
show list package for example: | |
+ package:/data/app/com.facebook.lite-8_89meYFwfdQ23e_DesbnA==/base.apk=com.facebook.lite | |
step 3: go to adb shell and pull apk file to sdcard | |
+ adb shell | |
+ cp /data/app/com.facebook.lite-8_89meYFwfdQ23e_DesbnA==/base.apk /sdcard/facebook.apk | |
step 4: pull apk file to pc | |
+ adb pull /sdcard/facebook.apk <path_pc_pull_file> | |
ex: adb pull /sdcard/facebook.apk Desktop | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment