Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Macintosh Installing HAXM for Android

I am following the instructions from https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-mac-os-x

I used the Android SDK Manager and installed Intel x86 Emulator Accelerator (HAXM Installer). I then used the Intel HAXM installer and used the default settings. I then tried to run

 kextstat | grep intel 

and nothing is happening. I tried to run

 sudo kextload –b com.intel.kext.intelhaxm

I get the following errors

/–b failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8). /com.intel.kext.intelhaxm failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).

The Android SDK states that I am missing /dev/haxm.

How do I resolve the issues with my installed version of HAXM inside of OS10.10?

like image 700
ILikeTurtles Avatar asked Oct 21 '14 18:10

ILikeTurtles


People also ask

How do I fix HAXM is not installed in Android Studio?

Option 1: Go to Android SDK Folder --> Extra --> Intel and double click on HAXM installer and install it manually. Option 2: If you do not have latest version of HAXM then you can open sdk manager in android studio and download it.

Can we download HAXM in Android Studio?

Installing from Android SDK Manager Go to Android SDK Manager (Tools -> SDK Manager) and select SDK Tools. You will find the Intel x86 Emulator Accelerator HAXM installer listed here. Select it and click on OK.


1 Answers

@emmby provided the following information in relation to another question.

After installing the HAXM DMG as per the instructions located on Intel I was then able to do the below and it now functions. Of note was the fact that after doing this I was unable to remove my non-accelerated AVD and was forced to remove it through the command line. I repeatedly got the error that the AVD was in use even after closing the ADK.

How to fix the HAXM install on OSX Yosemite -

  1. Run sudo nvram boot-args="kext-dev-mode=1"
  2. Restart.
  3. Run sudo kextload -bundle-id com.intel.kext.intelhaxm
like image 133
ILikeTurtles Avatar answered Oct 27 '22 17:10

ILikeTurtles