Intel X86 emulator accelerator (HAXM installer) VT/NX not enabled

AndroidEmulationOsx YosemiteHaxm

Android Problem Overview


I`m asking how to enable my VT/NX for my MacBook, when I try to use X86 emulator, it appears to me that VT/NX NOT ENABLED, it had never seem this when I used 10.9 system, after I update my MacBook to Yosemite, it appears to me.

When I try to start my x86 emulator, it tells me:

Starting emulator for AVD 'X86'
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).

But the AVD shows me that I had installed HAXM.

When I try to install by myself again, installer prints VT/NX NOT ENABLED.

I can not post any images…

to mindex's answer:

I tried running all versions of Intel HAXM I could get:

IntelHAXM_1.0.8.dmg     
IntelHAXM_1.1.0_for_10.10.dmg     
IntelHAXM_1.1.0_below_10.10.dmg      

But it did not work.

Android Solutions


Solution 1 - Android

From the Intel Instructions

"The SDK Manager will download the installer to the "extras" directory, under the main SDK directory. Even though the SDK manager says "Installed" it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the "extras" directory to finish installation.

Extract the installer inside the "extras" directory and follow the installation instructions for your platform."

Solution 2 - Android

Go to the SDK manager in your IDE and install the latest "Intel HAXM" and start the emulator.

If it is throwing the error as:

Starting emulator for AVD 'X86'
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).

It means that some hardware graphical features are to be assigned.So to overcome this problem just go to the path where you have your Android SDK installed.

Windows

> C:\Android\SDK\extras\intel\Hardware_Accelerated_Execution_Manager

There you can find the file intelhaxm-android.exe.

Mac OS X

On macOS there is a IntelHAXM_X.X.X.dmg file, mount it and you'll find an mpkg-file.

Install the file and restart all the applications using android emulator such as android studio, cmd, etc.

Now try to open the emulator it will work fine

Solution 3 - Android

You might be running an older version of Intel HAXM (or haven't installed it at all). Go to https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager and download/install the latest Intel HAXM package for MAC OS X.

EDIT: according to https://software.intel.com/en-us/forums/topic/506790 you should also make sure that Virtual PC/Parallel/VMWare is not running.

Solution 4 - Android

Version 1.1.1 is the correct version for Yosemite. You need to download this directly from intel's site: https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager.

The one downloaded by SDK Manager is the older version (1.1.0). If you still want to run with version 1.1.0 - refer to the solution here - http://www.csell.net/2014/09/03/VTNX_Not_Enabled/

Solution 5 - Android

In my case running Yosemite in VMWare Workstation 10.0.5 I had to:

  1. Set kext to dev mode (might not be needed anymore .... try first without it)

    sudo nvram boot-args="kext-dev-mode=1"

Then reboot (power down VM) for step 2) below.

Details here: http://www.csell.net/2014/09/03/VTNX_Not_Enabled/

  1. Add vhv.enable = "TRUE" to my VMX file and restart the VM

    Details discussed here: https://communities.vmware.com/thread/416997?start=15&tstart=0

  2. Install HAXM 1.1.1 as discussed above from the Intel 's site

(would love to post more links -> but have limit for 2 -> so vote for me so next time you will gert more .. :-))

Solution 6 - Android

1.To install the virtualization driver:

Start the Android SDK Manager, select Extras and then select Intel Hardware Accelerated Execution Manager. After the download completes, execute /extras/intel/Hardware_Accelerated_Execution_Manager/IntelHAXM.exe. Follow the on-screen instructions to complete installation.

2.If it show any problem restart your computer and inter in BIOS an enable Virtualization Technology ...

3.To see your possessor is capable to virtualization go to the bellow link http://ark.intel.com/Products/VirtualizationTechnology

Solution 7 - Android

In many cases some antivirus also start HyperV with window start and does not allow HAXM to install. I faced this issue because of AVAST antivirus. So I uninstalled AVAST, then HAXM installed properly after restart. Then I re-installed AVAST.

So its just a check while installing as now even with AVAST installed back, HAXM works properly with virtual box and android emulators.

Solution 8 - Android

Try to install Integrated Native Developer Experience
" Is a cross-architecture productivity suite that provides developers with tools, support, and IDE integration to create high-performance C++/Java* applications for Windows* on Intel® architecture, OS X on Intel® architecture and Android* on ARM* and Intel® architecture."

Integrated Native Developer Experience

Solution 9 - Android

For IntelHAXM to install you have to activate Intel Virtual Technology.

To activate it, you have to restart your PC and go to BIOS. There is an option called Intel Virtual Technology that you have to enable to activate it.

After enabling it, reinstall IntelHAXM. That should solve the problem.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDaCheng.XuView Question on Stackoverflow
Solution 1 - AndroidNick FortescueView Answer on Stackoverflow
Solution 2 - Androiduser4683987View Answer on Stackoverflow
Solution 3 - AndroidmindexView Answer on Stackoverflow
Solution 4 - AndroidVarunView Answer on Stackoverflow
Solution 5 - Androiduser2395959View Answer on Stackoverflow
Solution 6 - AndroidMd. Enamul HaqueView Answer on Stackoverflow
Solution 7 - Androidgvisgr8View Answer on Stackoverflow
Solution 8 - AndroidOsama AbuSittaView Answer on Stackoverflow
Solution 9 - Androidmehran zolqdrView Answer on Stackoverflow