How to speed up Android Emulator on Eclipse (emulator: Failed to open the HAX device! solution)

Friends the following udemy course created by me;

      Click here to attend Spring Framework 4.x and certification course with a discount

Spring Framework and Core Spring Certification Udemy course with discount
Spring Framework and Core Spring Certification Udemy course with a discount coupon

This tutorial will guide you to speed up Android Emulator by installing Intel Hardware Accelerated Execution Manager (HAXM)

–Slow Emulator speed on Eclipse (actually very very slow for debugging)
–emulator: Failed to open the HAX device! HAX is not working and emulator runs in emulation mode,  emulator: Open HAX device failed solution

In order to use x86 Android Intel Emulator, first of all download the image using Android SDK Manager

Open Eclipse click on SDK Manager Button


Choose Intel x86 Atom System Image and press install


After this you need to install HAXM as well;


After installing Intel x86 Emulator Accelerator, you need to go installation folder and execute manually  HAXM executable (Install Package is actually here misleading, you can think it as downloading) alternate download link;

Go to the following folder (replace your username on your computer)


Run IntelHaxm.exe


Press Next


Set RAM size, you can choose default value and click yes

After the installation, you should open command prompt for testing whether HAXM is running on computer try the following command
if you see RUNNING state, HAXM installation is successful.


So in order to use the fastest Intel x86 Emulator, you should define a new emulator in Eclipse by opening Android Virtual Device Manager
and setting the following parameters;

First open it  by clicking  avdmbut


Under Device Definitions, choose Nexus S and press create AVD
In this section, choose Intel Atom (x86) for CPU/ABI and this will activate HAXM
and your emulator will be faster


After completing these steps; by running your application you will see a console like as below;

[2013-09-02 19:51:12 – Hello] ——————————
[2013-09-02 19:51:12 – Hello] Android Launch!
[2013-09-02 19:51:12 – Hello] adb is running normally.
[2013-09-02 19:51:12 – Hello] Performing com.example.hello.MainActivity activity launch
[2013-09-02 19:51:13 – Hello] Automatic Target Mode: Preferred AVD ‘AVD_for_Nexus_S_by_Google_With_x86’ is not available. Launching new emulator.
[2013-09-02 19:51:13 – Hello] Launching a new emulator with Virtual Device ‘AVD_for_Nexus_S_by_Google_With_x86’
[2013-09-02 19:51:14 – Emulator] emulator: device fd:1268
[2013-09-02 19:51:14 – Emulator]
[2013-09-02 19:51:14 – Emulator] HAX is working and emulator runs in fast virt mode
[2013-09-02 19:51:15 – Emulator] creating window 0 0 438 729
[2013-09-02 19:51:15 – Hello] New emulator found: emulator-5554
[2013-09-02 19:51:15 – Hello] Waiting for HOME (‘android.process.acore’) to be launched…
[2013-09-02 19:51:52 – Hello] HOME is up on device ’emulator-5554′
[2013-09-02 19:51:52 – Hello] Uploading Hello.apk onto device ’emulator-5554′
[2013-09-02 19:51:54 – Hello] Installing Hello.apk…
[2013-09-02 19:52:47 – Hello] Success!
[2013-09-02 19:52:47 – Hello] Starting activity com.example.hello.MainActivity on device emulator-5554
[2013-09-02 19:52:48 – Hello] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.hello/.MainActivity }