Last active
June 5, 2018 21:19
-
-
Save d-schmidt/a19b69d03a352a8e75dbe4e17be1f2ef to your computer and use it in GitHub Desktop.
download app apk from Android phone and install it in emulator
This file contains 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
// install and or goto adb | |
// download from device (usb) -d | |
// list full path of third party packages | |
adb -d shell pm list packages -f -3 | |
// package:/data/app/com.google.android.inputmethod.japanese-1/base.apk=com.google.android.inputmethod.japanese | |
// download apk to path | |
adb -d pull /data/app/com.google.android.inputmethod.japanese-1/base.apk path/to/ | |
// install to emulator | |
adb -e install -r "path/to/japanese.apk" | |
// uninstall from device | |
adb -d shell pm uninstall -k --user 0 com.samsung.android.oneconnect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment