X Pahadi
X Pahadi

Reputation: 7443

Intel HAXM installation Failed

I installed HAXM using Android SDK and it gave me an error of Not Installed while building. On maual installation, I get the following error. Can anyone help to figure out this?

Last login: Sun Jul 19 21:44:03 on ttys000
Tikas-MacBook-Pro:~ user$ /Users/user/Downloads/haxm-macosx_r05/HAXM\ installation ; exit;
2015-07-19 21:56:46.472 HAXM installation[779:65674] AuthorizationExecuteWithPrivileges failed with return: -60031
2015-07-19 21:56:46.472 HAXM installation[779:65674] HAXM installation failed!
logout
Saving session...completed.

[Process completed]

Upvotes: 5

Views: 4700

Answers (3)

stackunderflow
stackunderflow

Reputation: 3873

if the reason is that you upgraded to High Sierra 10.13 masOS then : Do this on your own responsibility as I am not sure that it has no side effects

Download the HAXM-maxosx_v6_2_1

open the file silent_install.sh

go to the line :

for v in 10.8 10.9 10.10 10.11 10.12 

add to it 10.13 if your os is High Sierra 10.13.xx

so it will be :

for v in 10.8 10.9 10.10 10.11 10.12 10.13

then run the silent_install.sh file as sudo

then it will pass :)

Upvotes: 0

adamvert
adamvert

Reputation: 625

I just ran into this problem as well. I'm running Yosemite so the downgrading solution isn't pertinent. Eventually I decided to try running the silent_install.sh that's in the same dir as HAXM installation, and it worked.


Details

  1. Open terminal window. (/Applications/Utilities/Terminal)
  2. sudo ~/Library/Developer/Xamarin/android-sdk-macosx/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh
  3. when prompted, enter sudo password.
  4. wait a minute - says "Silent installation Pass!".

To verify success:

  1. Open Google Android Virtual Device (AVD) manager.
  2. Create a virtual machine with x86 or x86_64 as architecture.
  3. Start that virtual machine - says "HAX is enabled", and Android Emulator window opens showing the emulated device.

Upvotes: 12

X Pahadi
X Pahadi

Reputation: 7443

NOTE: This answer is obsolete. Use adamvert's answer.


For anyone coming here, Preview Versions of Max OS X like El Capitan do not completely support all apps like the HAXM

Downgraded to Yosemite and it worked.

Upvotes: 0

Related Questions