user1995781
user1995781

Reputation: 19463

ADB shell command uninstall Android app from Windows 7

I am doing testing of app on Android emulator. I am able to install my app via this:

adb install camera_test_debug.apk

After installing, the app name appear in the list is "camera_test". However, I can't do the uninstall with adb uninstall camera_test. It will return failure message.

Why can't I uninstall? What should be the name I put in to be able to uninstall?

Thank you.

Upvotes: 0

Views: 1283

Answers (2)

Arash GM
Arash GM

Reputation: 10395

you should uninstall your app by your package name so check your package name in manifest , then be sure that your app is debuggable.

Upvotes: 0

Robin
Robin

Reputation: 10368

adb uninstall package.yourapk.name

not

adb uninstall filename.apk

Check the AndroidManifest.xml, get the package name of your camera_test_debug.apk, eg. com.example.cameratest.

Then use "adb uninstall com.example.cameratest" to remove that apk.

Upvotes: 3

Related Questions