Installing HAXM on osx Yosemite

[亡魂溺海] 提交于 2019-12-04 10:05:12

问题


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:

  1. Run sudo nvram boot-args="kext-dev-mode=1"
  2. Restart.
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!