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
解决的方法:
-
Run
sudo nvram boot-args="kext-dev-mode=1"
- Restart.
-
Run
sudo kextload -bundle-id com.intel.kext.intelhaxm
sudo
nvram boot-args="kext-dev-mode=1"
you will allow ALL UNSIGNED KEXT to be loaded. Know your system.