Intel HAXM on macOS high sierra (10.13)

2019-03-09 11:57发布

Is there any way of using Android emulator on High Sierra (10.13)?

When I run

./HAXM\ installation -u

It says:

HAXM silent installation only supports macOS from 10.8 to 10.12 !

10条回答
Ridiculous、
2楼-- · 2019-03-09 12:29

The command line installation doesn't work and gives unsupported mac os version error, while the installation through IntelHAXM_6.2.1.mpkg works but kext is not loaded due to "Approved Kernel Extension Loading" changes,

So you will need to allow the extensions from Intel and restart your mac, then launch the emulator like from inside Android Studio,

To enable go to System Preferences > Security & Privacy as shown in the screenshot:

enter image description here

查看更多
看我几分像从前
3楼-- · 2019-03-09 12:31

Intel Corporation just fixed it and released HAXM for macOS Sierra and macOS High Sierra, just download the zip, and execute the .dmg file, then restart Android Studio. It worked for me, hope it works for you too.

Intel Link for the download : https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx

查看更多
够拽才男人
4楼-- · 2019-03-09 12:36

If you have already installed the latest Intel HAXM Manager (v6.2.1) then re-install it and restart your computer. It will fix the emulator problem. You will be able to run emulators again. Here is the link: https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm

查看更多
ら.Afraid
5楼-- · 2019-03-09 12:44

Use the new Hypervisor.Framework support on macOS.

Add this line in ~/.android/advancedFeatures.ini (create this file if it doesn't exist already).

HVF = on

Issue answered here: https://issuetracker.google.com/issues/62395878#comment7

That's worked for me.

Also you can be updated with Intel HAXM as they fixed this error.

Download HAXM latest version here (Restart macOS Required):

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx

Hope it help.

查看更多
地球回转人心会变
6楼-- · 2019-03-09 12:47

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.

Try to stop and stat again HAXM., than verify it works correctly.

To stop Intel HAXM, use the following commands:

sudo kextunload -b com.intel.kext.intelhaxm

To start Intel HAXM, use the following commands:

sudo kextload -b com.intel.kext.intelhaxm
查看更多
登录 后发表回答