How to Uninstall APK Files from Android Device Emulator

AndroidArticlesHow to Uninstall APK Files from Android Device Emulator

In our previous tutorial How to Install APK Files on Android Device Emulator we described how to install step-by-step an APK package on the emulator. Today we want to briefly cover how to remove already installed applications.

Note: Google explains that in short here: http://code.google.com/android/intro/installing.html#uninstalling

To perform this operation you would need (how logical) the emulator itself, which is shipped with Android SDK. Once again, you don't need Eclipse development environment neither for installing and testing of Android applications nor to remove it from the emulator.

Ok, so you have a working SDK with emulator. In the SDK's main directory (in the last how-to we called it "$SDK_ROOT") there is the folder called "tools". You need to start the console terminal ("Start -> Run... -> type 'cmd'" for Windows PCs). Type-in the following command: adb shell rm data/app/$APK where $APK is the name of the APK file. For example if you want to uninstall the Snake game, you should type this: adb shell rm data/app/Snake.apk

That's it. Now you can install the Snake again :)

Categories

Games (176)
Finance (59)
Health (91)
Travel (104)
Reference (146)
Productivity (230)
Multimedia (116)
Communications (215)
System (158)
Entertainment (256)
Shopping (61)
Sports (58)
News (36)
Internet (1)

Follow on

Subscribe to the Android Freeware on Twitter Twitter
Subscribe to the Android Freeware on Facebook Facebook