Skip to content

Instantly share code, notes, and snippets.

@BenjaminKobjolke
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save BenjaminKobjolke/811029308c6317de387b to your computer and use it in GitHub Desktop.
Save BenjaminKobjolke/811029308c6317de387b to your computer and use it in GitHub Desktop.
Android ADB Commands #commandline
Restart ADB Server
adb kill-server && adb start-server
app id = de.xida.example
install:
adb install yourapk.apk
uninstall:
adb uninstall de.xida.example
kill task
adb shell am force-stop de.xida.example
start app (you need to know the MainActivity for that):
adb shell am start -n de.xida.example/.activities.MainActivity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment