Intel® Developer Zone offers tools and how-to information for cross-platform app development, platform and technology information, code samples, and peer expertise to help developers innovate and succeed. Join our communities for Android, Internet of Things, Intel® RealSense™ Technology and Windows to download tools, access dev kits, share ideas with like-minded developers, and participate in hackathon’s, contests, roadshows, and local events.
First time users of Intel® HAXM can occasionally run into situations where they are not sure if their Android* emulator is in fact using HAXM technology. This article will provide the necessary steps to verify that you are in fact using HAXM technology.
Once you have Intel® HAXM for Android emulator installed on your system, the next step is to create an appropriate Android* Virtual Device (AVD) configuration using the x86 Android* images for the target API level. We need to ensure the x86 image has already been downloaded inside the Android SDK manager.
For example, for Android* "L" preview, open your Android SDK Manager and ensure the x86 image for "L" preview is installed.
Next, open the Android AVD Manager (located in android-sdk folder), create a new AVD configuration with CPU set to x86 as shown/highlighted below.
Now, when you start this AVD configuration, you will see an indication that HAXM is working in a separate window with message "HAX is working and emulator runs in fast virt mode". Please see below.
Sometimes, you may not see this message confirming HAXM is working. This could be related to situations where there is a delay in showing the window/status. For example, if you choose to use a host camera in your AVD configuration, it will open another window asking you to pick which of the host cameras, which can delay the HAXM status message (or not show at all).
At any time, you can always run "sc query intelhaxm" in a command prompt (shown above), to check the current status of HAXM. The STATE should show "RUNNING" (shown in above screenshot).
In summary, even if you do not see the status "HAX is working…", you can ensure you are using HAXM by checking the items below:
-
Make sure you are creating the AVD with an x86 image. AVD manager will not show the x86 option if you did not download those specific API level x86 images in SDK manager
-
Open a cmd prompt and run "sc query intelhaxm" for current status of HAXM. The STATE should say "RUNNING".
-
For an additional sanity check, once you have your emulator started, go to the Windows Task Manager, and look for a process name emulator-x86.exe
. If you do not find it, and instead find emulator-arm.exe, d
ouble check that your avd configuration is set to x86 as discussed.
You can always visually see the difference in performance with HAXM and without. It is unmistakable.
Below are some related articles if you are interested in using Intel® HAXM with Android x86 Google* API images.
*Other names and brands may be claimed as the property of others