Search code examples
androidmacoshaxm

Macintosh Installing HAXM for Android


I am following the instructions from https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x

I used the Android SDK Manager and installed Intel x86 Emulator Accelerator (HAXM Installer). I then used the Intel HAXM installer and used the default settings. I then tried to run

 kextstat | grep intel 

and nothing is happening. I tried to run

 sudo kextload –b com.intel.kext.intelhaxm

I get the following errors

/–b failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8). /com.intel.kext.intelhaxm failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).

The Android SDK states that I am missing /dev/haxm.

How do I resolve the issues with my installed version of HAXM inside of OS10.10?


Solution

  • @emmby provided the following information in relation to another question.

    After installing the HAXM DMG as per the instructions located on Intel I was then able to do the below and it now functions. Of note was the fact that after doing this I was unable to remove my non-accelerated AVD and was forced to remove it through the command line. I repeatedly got the error that the AVD was in use even after closing the ADK.

    How to fix the HAXM install on OSX Yosemite -

    1. Run sudo nvram boot-args="kext-dev-mode=1"
    2. Restart.
    3. Run sudo kextload -bundle-id com.intel.kext.intelhaxm