Written by Brightec Team
Jan 07, 2014

Slow Android emulator?

When developing for Google Android it is important to test your apps properly on multiple devices.

Default Android Emulator

The great thing about emulators are they allow you to test devices with different screen sizes and resolutions from your desktop without actually having to buy a physical device.

The problem is the built-in Android emulator is painfully slow and a lot of your time can be taken up just waiting for it to load up and respond to commands. Here are a few tricks which can help speed things up:

Prior knowledge

Know how to create a new device using the Android Virtual Device Manager

Use your machine's GPU

Currently the graphics are processed by the devices limited CPU. You can speed things up by handing over this work to your host machines GPU - this not only improves the graphics but also frees up some much needed processing power for other parts of your app.

The solution is simple: when creating or amending a device simply check ‘use Host GPU’.


Not good enough!

The delegating of graphics processing does help but only marginally. The next thing we can do is to our host CPU which has Virtual Machine acceleration features instead of the Virtual Machine's ARM CPU one which is slower.

Using a host running OS X with an Intel chip.

Here's what to do: Open up the Android SDK manager and install the Intel x86 Atom System Image for whichever Android APIs you wish to test your app on.


Next install the Intel Hardware Accelerated Execution Manager (HAXM) which allows faster Android emulation when on their chips Note: For OS X 10.9 (Mavericks) users there is a bug which means the automatic installation of HAXM does not work. Skip down to the next section to see how to do it manually!


If all has gone well then you're ready to test out your accelerated emulator!

OS X 10.9 (Mavericks) users only!

Download the HAXM software with Mavericks hot fix. Once downloaded, open up the installer and follow the instructions. (If you need more help, instructions can be found on the intel website).

This is the equivalent of doing it through the Android SDK manager, once installed you'll be ready to test it out!

Testing it out

Head on back to the Android Virtual Device Manager and when creating or amending a virtual device you should now be able to select ‘Intel Atom (x86)’ as an option for whichever Target you installed the CPU image for.


Fire it up and test out your new accelerated emulator!

Related Links

Read what Google have to say about this

This article was originally written for Brightec by Andy Hails