-4

How do you uninstall an APK file in the Android emulator using adb command

Gowthaman M
  • 7,600
  • 7
  • 31
  • 52

2 Answers2

1

Use this comment

Before doing this you have to connect your emulator, using this adb comments for connect adb connect your_ipaddress

pm uninstall -k <package_name>

(or)

adb shell pm uninstall *your.package.name*

Please check doc: https://developer.android.com/studio/command-line/adb.html#pm

Gowthaman M
  • 7,600
  • 7
  • 31
  • 52
1

You can use

adb uninstall <package_name>

where <package_name> is full package name of your application that you want to uninstall. for example : adb uninstall com.shashi.myApp

Shashi Patel
  • 72
  • 10