yosemite开启HAXM硬件加速执行安卓虚拟机

android sdk安装HAXM发现不能正常执行


$ kextstat | grep intel
发现无进程执行

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

发现无法载入libkern/kext,事实上是内核不支持未签名的kext

解决的方法:

  1. Run sudo nvram boot-args="kext-dev-mode=1"
  2. Restart.
  3. Run sudo kextload -bundle-id com.intel.kext.intelhaxm
NOTE: By running sudo nvram boot-args="kext-dev-mode=1" you will allow ALL UNSIGNED KEXT to be loaded. Know your system.

posted @ 2017-07-23 10:03  lytwajue  阅读(251)  评论(0编辑  收藏  举报