Advertisement
Tech

How To Install & Remove Applications on the Android Device Emulator

This guide examines how developers can work with applications on the Android Device Emulator in order to test their games and apps prior to publishing. Learn how to easily install and remove in-development apps from the Emulator.

By hardiks
Desk Tech
Reading time 2 min read
Word count 335
Google android Mobile Guides
How To Install & Remove Applications on the Android Device Emulator
Advertisement
Quick Take

This guide examines how developers can work with applications on the Android Device Emulator in order to test their games and apps prior to publishing. Learn how to easily install and remove in-development apps from the Emulator.

On this page

In this tutorial, I will show you how to install and remove applications (APK files) on the Android Device Emulator which is bundled as part of the SDK. If you are a developer, you may often want to install applications on the Android Device Emulator for testing before you publish them. You may also want to run certain applications on the emulator before installing them on your device.

To install / remove applications on the Android Device Emulator, you need to download and install the SDK from https://developer.android.com/sdk/ . After downloading the file, just extract the archive into any folder. You won’t need Eclipse or any IDE.

Advertisement

Before installing / removind apps on the emulator, you should also set the PATH environment variable to point to the tools directory in the Android SDK directory so that you can use ADB directly on the command line.

To do so, go to My Computer - > Right Click - > Properties - > Advanced - > Environment Variables. Select the PATH variable from the System Variables and click Edit. Add the location of the tools directory to the existing string. Ex: C:\Android\Tools and save the changes.

Advertisement

Installing APK Files on the Android Device Emulator.

Now download the APK file you want to install and save it in the tools directory (preferably).

Advertisement

Open Command Prompt by Start - > Run - > CMD and navigate to the tools directory.

type: ADB INSTALL APKFILE.APK where APKFILE.APK is the name of the application you want to install.

Advertisement

If there are no errors, then the application has been successfully installed. You can now just run the emulator directly to access it.

Removing APK Files from the Android Device Emulator.

Advertisement

To remove the installed APK files,

Just go to Command Prompt by Start - > Run - > CMD and navigate to the tools directory.

Advertisement

type: ADB SHELL RM DATA\APP\APKFILE.APK where APKFILE.APK is the name of the application you wish to remove.

If there are no errors, the application has been removed.

Advertisement
Keep Exploring

More from Tech

Filed under
Google android Mobile
More topics
Guides
Advertisement