Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator freezing OS X v10.9 (Mavericks) with HAXM

Intel released a hotfix for the Intel® Hardware Accelerated Execution Manager (HAXM). If you have installed HAXM on Microsoft Windows* 8.1 or OS X 10.9 you should install the Hotfix.

Download of the hotfix from the HAXM download page: http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/

Thanks, Alex (Intel)

-edit-

It looks like the hotfix link has been moved (temporarily? ...). Use this link to get to the OSX Hotfix:

http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macos-hotfix


Good news! The great guys at Intel are currently testing a fix and are testing it now (Alexander from Intel's response pasted below)

Hi,

We identified the root cause of this issue. The Intel HaXM team is testing an update to support newly released OSes (Microsoft Windows* 8.1 and OS X Mavericks*). Look for word on our upcoming update.

Thanks, Alex

This is a known issue though Mavericks GM has only been released to developers recently. I have notified Intel here:

http://software.intel.com/en-us/forums/topic/477793

UPDATE:

THIS IS A RESPONSE FROM INTEL I HAVE PASTED BELOW FROM THEIR FORUM

Hi,

Thanks for your replies. We are investigating into this issue at the moment. Please note that OS X 10.9 is not an supported OS version for the actual version of HAXM. I will update this thread as soon as I have new information or a fix/workaround is available.

Thanks, Alex

Click here to view this Forum topic and respond:
http://software.intel.com/en-us/comment/1761988#comment-1761988

And a further update:

We identified the root cause of this issue. The Intel HaXM team is testing an update to support newly released OSes (Microsoft Windows* 8.1 and OS X Mavericks*). Look for word on our upcoming update.

Another update:

I assume we release a fix somewhere between a few days and two weeks. We know that a lot of people are waiting for the fix, so we try to release it as fast as possible.

Thanks for your patience!

INTEL HAVE PROVIDED A HOTFIX

Great news: The hotfix is available for download! Please go to http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/. There is a hotfix for Microsoft Windows* 8.1 and one for OS X 10.9.
Let us know if the hotfix is working for you.

Thanks all for helping us resolving this issue!


It seems like problems will persist even if you install and run getting "HAX is working and emulator runs in fast virt mode." If you have Xcode open when running Android Studio, it appears that Xcode is reserving a partition for its simulator even if the sim isn't open.

You might see a "No Connected Devices" in the "6. Android" tab but see it running in the DDMS. You might also see the "Emulator null 5556 [OFFLINE]" show up then loose connection and revert back to "Not Connected Devices."

I've been using the HAXM emulator successfully for a while on my Mac Mini 4GB RAM machine, but as soon as I tried running the Nexus 10 emulator, I starting to see a ton of problems launching the app.

The long and short of it is that you need to close/disable Xcode, VirtualBox, Hyper-V, or any other VM that uses virtualization technology to run the HAXM emulator and the default emulator efficiently.

After closing Xcode, I was able to open the emulator with no problems right off the bat, most likely because of the the CPU restrictions of my system.


For those of us using older Macs, in particular Core Duo 2 machines, I think there's still a problem. I have an early 2009 iMac with 8GB RAM running Yosemite (10.10.1) and I installed the 1.1.1 version of HAXM (tried both the version that Android SDK Manager downloaded and the one referenced above on Intel's site).

I can run the older ARM images, but like many others who are having issues running the x86 images, e.g. Nexus 5, Nexus 6, it still hangs for me.

In https://software.intel.com/en-us/forums/topic/536330, there are a couple of people who are having issues with Core Duo 2 Mavericks machines. It states in the HAXM 1.1.1 Release Notes.txt file:

HAXM driver does not support emulating a 64 bit system image on Intel systems based on Core microarchitecture (Core, Core2 Duo etc.).

But, it seems like even trying to emulate a 32 bit system is problematic.

NB: ARM images work fine.


The hotfix (almost) solved it for me. After installing the hotfix my emulator was still not using HAXM. I had to uninstall the old version using the SDK manager. Once I did that I was able to get HAXM running. You can tell it is running by looking for the message in the startup window when you start a new emulator.