错误信息:
Starting emulator for AVD 'Nexus5'
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).
答案 0 :(得分:0)
您需要英特尔HAXM。打开SDK Manager并安装Intel x86 Emulator Accelerator (HAXM Installer)
然后,打开SDK目录并打开位于extras\intel\Hardware_Accelerated_Execution_Manager
内的DMG文件。然后运行里面的安装程序。
之后,您可以通过kextstat | grep intel
如果Intel HAXM运行正常,该命令将显示一条状态消息,指示内核扩展名为" com.intel.kext.intelhaxm"装了。
要停止或启动Intel HAXM,请使用以下命令:
sudo kextunload –b com.intel.kext.intelhaxm
sudo kextload –b com.intel.kext.intelhaxm