Search code examples
androidandroid-studioosx-yosemitehaxmkernel-extension

Install HAXM on OS X Yosemite for make android simulator working


I need to use the AndroidStudio simulator, but the IDE show me follow error:

emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).

So I tried to find in the web solutions to solve my problem; finally I tried this:

1) I went to AndroidStudio > tools > android > SDK android and I installed HAXM

enter image description here

2) then I went to android > sdk > extras > intel, I opened Hardware_Accelerated_Execution_Manager directory and start installing IntelHAXM_1.1.4.dmg; at the end the wizard showed me this error

enter image description here

3) surfing the web I found some guides for to force to install the kext (this I intended) and I tried to write tis on terminal

enter image description here

Restarting the system, the simulator does not work. could anyone help me solve my problem? installing the HAXM, or deactivate it, both are fine. Thanks a lot!!!

EDIT: finaly I solved this problem simply change the SDK from 6.0 to 5.1.1, so the emulator didn't bind me to use HAXM; however if someone has some solution, please write evenly.


Solution

  • Taking a look at your second screenshot the title of the message reads: VT/NX not enabled

    Intel installation instructions (see: https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x) claim:

    Note: Apple* computers have Intel VT-x permanently enabled if supported by the processor. If you receive an error message indicating that Intel VT is not enabled, your computer does not meet the minimum system requirements to use Intel HAXM. To determine the capabilities of your Intel processor, visit http://ark.intel.com/.

    Probably the CPU of your computer doesn't support VT-x. I suggest you try the link cited above to make sure your CPU supports VT-x. In case it is, it may be disabled in BIOS / EFI, next step would be to take a look there.

    VT-x is a required feature for HAXM to work. No VT-x no HAXM.