Tutorials:Android Studio Emulator HAXM on Mac Os High Serria

From Knowledge base
Jump to: navigation, search

Well, Android Studio needs HAXM to run the emulator.

HAXM drivers do not support the beta version of Mac Os High Serria yet.

The driver works but with a little bit of additional command.

First, you need to disable the Security Protection on kext. The drivers do not sign for this version.

From https://apple.stackexchange.com/a/269777:

  1. Get into Recovery Mode by restarting and holding down +R until Apple logo appears.
  2. In the top menu click: Utilities > Terminal
  3. In the Terminal window type and press Enter: csrutil enable --without kext
  4. Then restart the Mac.

Then you can install HAXM from:

Download the driver from here https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager/ and unzip it.

Open a terminal and go to the directory of the driver :

$ cd Downloads/haxm-macosx_v6_2_0
edit the file and look for 10.12
$ nano silent_install.sh

Add 10.13 after 10.12, and save the file ( CTRL+X, Y, Enter)

Run it :

$ ./silent_install.sh

To be sure it works :

$ sudo kextload -bundle-id com.intel.kext.intelhaxm

Now you emulator should work !


Share your opinion