问题
I'm following the instructions to install Intel HAXM on OS X.
https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x
These instructions say to install the driver, and once it's done run kextstat | grep intel
to see if it's installed. If not, then run sudo kextload –b com.intel.kext.intelhaxm
.
However, at least on OS X Yosemite, I get the following error when I run kextload:
$ kextstat | grep intel
$ sudo kextload –b com.intel.kext.intelhaxm
/Users/mike/–b failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).
/Users/mike/com.intel.kext.intelhaxm failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).
What is the proper way to install the HAXM kernel extension on 10.10 Yosemite?
回答1:
Getting IntelHAXM_1.1.1_for_10_9_and_above.dmg from Intels website (https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager) actually solved my issue without the need of setting the boot-args to "kext-dev-mode=1".
回答2:
NEW: V1.1.1 that can be found here fix the problem
OLD METHOD:
Two fixes were necessary to get this to work.
First, the -b
option no longer appears to be correct. Instead use -bundle-id
.
Second, if you check in Console.app you will notice
ERROR: invalid signature for com.intel.kext.intelhaxm, will not load
To fix this, you must run sudo nvram boot-args="kext-dev-mode=1"
and then restart your computer.
In summary:
- Run
sudo nvram boot-args="kext-dev-mode=1"
- Restart.
- Run
sudo kextload -bundle-id com.intel.kext.intelhaxm
Thank you to reddit for the answer.
NOTE: By running sudo nvram boot-args="kext-dev-mode=1"
you will allow ALL UNSIGNED KEXT to be loaded. Know your system.
回答3:
I had the same issue. I installed the latest release from Intel (24 Oct) and now it works fine!
Here is the link:
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx
回答4:
For those running Android Studio and looking for the .dmg of HAXM for Yosemite (10.10) it would be located here:
/Applications/Android Studio.app/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM_1.1.0_for_10.10.dmg
回答5:
problem with mac yosemite. first try .... IntelHAXM_1.1.0_for_10.10.dmg but resolved to IntelHAXM_1.1.1_for_below_10_9.dmg
回答6:
Installing the [Android Emulator] has worked for me. It was not installed by default. Android Emulator can be accessed by running the Android SDK/SDK Tools tab as you see:

来源:https://stackoverflow.com/questions/26455759/installing-haxm-on-osx-yosemite