How do you uninstall an APK file in the Android emulator using adb command
Asked
Active
Viewed 4,632 times
2 Answers
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
- 8,057
- 8
- 35
- 54
-
thnaks @Gowthaman M – Hitesh Vijayvargiya Mar 12 '18 at 10:38
-
@HiteshVijayvargiya you are welocme..if my answer is usefull please donot forgot to accept.. – Gowthaman M Mar 12 '18 at 10:58
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
-
1I am getting this error Failure [DELETE_FAILED_INTERNAL_ERROR] – Hitesh Vijayvargiya Feb 21 '18 at 07:31
-
-
How did you get it to work? i am also getting that delet failed internal error – Jono Apr 01 '21 at 15:17