Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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]
like image 963
tika Avatar asked Jul 20 '15 02:07

tika


People also ask

How do I fix HAXM installation failed?

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.

Why is Intel HAXM not installing?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled", go to your BIOS settings and enable hardware virtualization. Restart Android Studio and then try to start the AVD again.

What is Intel HAXM in Android Studio?

The Intel Hardware Accelerated Execution Manager (Intel® HAXM) is a hardware-assisted virtualization engine (hypervisor) that uses Intel Virtualization Technology (VT) to speed-up Tizen application emulation on Windows and macOS host machines.


1 Answers

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.
like image 190
adamvert Avatar answered Sep 20 '22 18:09

adamvert