Skip to content

Instantly share code, notes, and snippets.

@d-schmidt
Last active June 5, 2018 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d-schmidt/a19b69d03a352a8e75dbe4e17be1f2ef to your computer and use it in GitHub Desktop.
Save d-schmidt/a19b69d03a352a8e75dbe4e17be1f2ef to your computer and use it in GitHub Desktop.
download app apk from Android phone and install it in emulator
// 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