3

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

thanks a lot.

KostasA
  • 4,672
  • 5
  • 19
  • 28

3 Answers3

10
adb uninstall com.company.apppackage
dave
  • 1,390
  • 17
  • 38
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
  • 954,112
  • 185
  • 2,315
  • 2,367
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
  • 437
  • 3
  • 15