Aleyna
Aleyna

Reputation: 1857

haxm hangs emulator on osx

After installing Intel HAXM on my osx 10.6.8, eclipse juno, adt 21.1.0 I am not able to run any of the emulators. The emulator process fries my cpu as in:

excerpt from activity monitor

where cpu usage never goes below 100%. Yet I have a huge black screen on the emulator.

HAXM extension does not throw any errors. At console, I read

[2013-04-02 20:09:58 - myapp] Launching a new emulator with Virtual Device 'x86'
[2013-04-02 20:10:03 - Emulator] HAX is working and emulator runs in fast virt mode
[2013-04-02 20:10:07 - myapp] New emulator found: emulator-5554
[2013-04-02 20:10:07 - myapp] Waiting for HOME ('android.process.acore') to be launched...

I can run the emulators if I remove the HAXM kernel extension. It seems to me that HAXM does not function properly.

Did anyone face the same problem? How can I make emulators run with HAXM installed?

Upvotes: 3

Views: 3090

Answers (4)

user2387699
user2387699

Reputation:

I know this is an old post but I'm also having this problem lately, running on Windows. How I got by this problem was either:

  1. Use an emulator target version 17 or higher.

  2. Set up the settings as follows with older emulator target versions:

enter image description here

enter image description here

  • Make sure you untick "Use Host GPU" and tick "Snapshot"
  • Tick "Save to snapshot" on launch options

You don't have to scale it, you can leave that unticked

Upvotes: 0

Ben Clayton
Ben Clayton

Reputation: 82219

This issue has been fixed by Intel. If you go to:

Intel® Hardware Accelerated Execution Manager 1.0.6 (R3)

.. and download and install the item:

Hotfix for OS X 10.9 only

haxm-macosx_r03_hotfix.zip

.. it now works. I can run nice fast Android emulators on Mac OSX 10.9 without my whole machine freezing.

Upvotes: 3

jkwuc89
jkwuc89

Reputation: 1415

See http://software.intel.com/en-us/forums/topic/477793 Intel is aware of it and is looking into it. Unfortunately, the only workaround is to not use HAXM on OSX Mavericks.

Upvotes: 0

KennyC
KennyC

Reputation: 961

You can try disabling the Hardware Graphics acceleration.

  1. Start the AVD Manager
  2. Select your AVD instance
  3. In the Hardware section: If GPU emulation option is not there, click New, select GPU emulation
  4. Change the value to No
  5. Start your AVD instance

Upvotes: 3

Related Questions