Android Emulators for Non-Developers
Using and managing Android Virtual Devices (AVDs) without Android Studio can be a pain. This document aims to fix that problem by providing easy to follow instructions for non-developers to setup an Android emulator for testing.
Under SDK Tools Only, download your OS's appropriate Android SDK zip file.
Once downloaded, unzip and move the resulting file structure to a directory of your choosing. For the purposes of this example, I put it in
Open up a terminal window and
cdinto your SDK directory.
Open up the SDK manager.
Inside the SDK manager there will be a lot of items preselected that you won't need unless you plan on doing Android development, so deselect all of the preselected items. Select and install Intel x86 Atom System Image under the header Android 4.4.2 (API 19) & Intel x86 Emulator Accelerator (HAXM installer) under the header Extras. API 19 isn't the latest version of Android, however it's emulator seems a lot more stable than the ones that come with API 20 and above.
Once the SDK manager has finished installing the system image and all of its dependencies, close the SDK manager and install the dmg or exe found under
Once finished, open up the virtual device manager.
Inside the device manager, create a new device with a name of your choosing (no spaces allowed) and the following settings:
- Device: Nexus 5
- Target: Android 4.4.2 - API Level 19
- CPU/ABI: Intel Atom (x86)
- Skin: No Skin
- Emulator Options: Use Host GPU (This will make the notoriously slow Android emulators slightly less slow)
Note: If your computer does not support Intel's hardware acceleration, install API 19's ARM EABI v7a System Image instead and skip step 6 of the above instructions.
Now that you have an emulator setup, you can launch it at any time via the device manager (which can be accessed via steps 3 & 6 in the setup list above).
Once the emulator has fully booted to the Android home screen, you can install an app on the emulator by giving
adb install the path to your apk.
platform-tools/adb install ~/Downloads/app-release.apk
If all went well, you should now find the newly installed app in the app drawer of your Android emulator. Your newly installed app can be uninstalled at anytime via either your phone settings or with the application's package name through adb. Uninstalling via adb can prove useful if you run into any installation errors.
platform-tools/adb uninstall com.originate.feedapp