4

one simple question. I have an APP in an android device. How can I unistall it via adb command line?

thanks a lot.

KostasA
  • 5,204
  • 6
  • 23
  • 29

3 Answers3

11
adb uninstall com.company.apppackage
dave
  • 1,410
  • 1
  • 16
  • 42
4

Run adb uninstall ..., where ... is your application ID.

By default, the application ID is the same as the package attribute on your <manifest> element in the AndroidManifest.xml file, though your build.gradle file might override that to have a different application ID.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
2

If you want to uninstall when connected to single device/emulator

adb uninstall <package name>

else with multiple devices

adb -s <device ID> uninstall <package name>
summerGhost
  • 477
  • 4
  • 15