如何在MAC OS中使用HAXM?

看了网上一堆的文章,大部分都是没有用的,很多文章往往让查询者陷入误区。在大家做进一步的理解之前,我建议大家先看这篇Intel网站的文章:

Installation Instructions for Intel® Hardware Accelerated Execution Manager - macOS*

Source: https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x


几个重点内容,细节的话还需要自己详细去看,我这里拎一拎可能大家会错误的:

1、The SDK Manager will download the installer to the "extras" directory, under the main SDK directory. Even though the SDK manager says "Installed" it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the "extras" directory to finish installation.

2、

To verify that Intel HAXM is running, open a terminal window and execute the following command:

kextstat | grep intel

If Intel HAXM is operating correctly, the command will show a status message indicating that the kernel extension named "com.intel.kext.intelhaxm" is loaded.

To stop or start Intel HAXM, use the following commands:

Stop:

sudo kextunload –b com.intel.kext.intelhaxm

Start:

sudo kextload –b com.intel.kext.intelhaxm
上面的格式可能有些小问题,我也不进行修改了,大家看懂就行。


祝大家顺利!


你可能感兴趣的:(Java,C/C++,杂项)