Intel HAXM on macOS high sierra (10.13)

后端 未结 11 2026
走了就别回头了
走了就别回头了 2020-12-24 11:50

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

When I run

./HAXM\\ installation -u

It says:

HA         


        
11条回答
  •  长发绾君心
    2020-12-24 12:11

    I was able to install Intel HAXM drivers on my Mac using the instructions provided in this post. There might be other (better) solutions to this, but I have successfully managed to start the emulator this way. Essentially you need to disable the security protection on kext before trying to install the HAXM drivers.

    This command will only work on Recovery OS, which means that you need to restart your Mac and hold command + R until the Apple logo is displayed. Next, you need to go to Utilities > Terminal and run:

    csrutil enable --without kext
    

    Then restart your Mac and log in, go here to download the latest Intel HAXM driver. Unzip if needed, edit the silent_install.sh file and search for the 10.12 OS version. You will find it on the line which should look like this

    for v in 10.8 10.9 10.10 10.11 10.12
    

    You need to add the 10.13 version after 10.12 (separated by space, just like the rest). Save the file and open a Terminal at this location. Run ./silent_install.sh and that should be it. To be sure it works, you can also run sudo kextload -bundle-id com.intel.kext.intelhaxm.

    Now your emulator should work.

    In order to re-enable the kext security protection, you need to restart your Mac in Recovery OS, open a Terminal window and run csrutil enable.

提交回复
热议问题