70

I have just downloaded latest android studio from official android site and installed it. But I am getting this error instead of having Intel X 86 Emulator accelerator. What can cause this error

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

enter image description here

Cœur
  • 32,421
  • 21
  • 173
  • 232
Utkarsh Dixit
  • 3,476
  • 2
  • 12
  • 34
  • Possible duplicate of [Error in launching AVD with AMD processor](http://stackoverflow.com/questions/26355645/error-in-launching-avd-with-amd-processor) – janot Sep 19 '16 at 10:11

8 Answers8

70

If you are running a modern Intel processor make sure HAXM (Intel® Hardware Accelerated Execution Manager) is installed:

  1. In Android SDK Manager, ensure the option is ticked (and then installed)

  2. Run the HAXM installer via the path below:

    your_sdk_folder\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe
    or
    your_sdk_folder\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe
    

This video shows all the required steps which may help you to solve the problem.

For AMD CPUs (or older Intel CPUs without VT-x technology), you will not be able to install this and the best option is to emulate your apps using Genymotion. See: Intel's HAXM equivalent for AMD on Windows OS

Community
  • 1
  • 1
Yogesh patel
  • 1,301
  • 2
  • 15
  • 21
  • 2
    at last this video helped me. I wasted huge time by checking up hiper-v check box. No documentation says it should be unchecked. Thank you very much dude. – Amir Jul 30 '15 at 10:50
  • 1
    Note that if you can't find your AppData\Local\Android\sdk path in Windows, try running %AppData% to find it. – Ohmless Oct 02 '15 at 02:04
  • 2
    I edited your post to add some additional details about AMD processors. I hope that's OK. – Simon East Mar 17 '16 at 01:24
  • You will want to disable Hyper-V if getting errors about this. The below can help https://developer.xamarin.com/guides/android/getting_started/installation/accelerating_android_emulators/ – Dinesh Rajan Sep 08 '16 at 15:02
60

Actual error

enter image description here

follow bellow two simple steps to fix.

Step 1:- update "Intel x86 Emulator Accelerator (HAXM installer)" Ref. bellow img enter image description here

Step2:-

After installing the installer, you have to run it to install it on your system. Open the directory where your Android SDK is located. Go inside the extras\Intel\Hardware_Accelerated_Execution_Manager directory and you should see the intelhaxm-android.exe file.

enter image description here

If you got the error "This computer meets requirements for HAXM, but VT-x is not turned on..." during installation try to turn it on in your BIOS and check your antivirus software settings also. (Check this stackoverflow post). Thats it! its working for me.

Community
  • 1
  • 1
Premkumar Manipillai
  • 1,883
  • 21
  • 22
  • HAXM insatallation failed,"Failed to configure driver:unknown error. Failed to open driver." this sis the error i'm getting while installing intel haxm in my pc. – Narendra Baratam Dec 05 '15 at 08:15
  • In my PC there is no virtualization. i can't install from sdk folder showing error "This Computer does not support Intel Virtuliazation TEchnology (Vt-x)" – Prasad Feb 10 '16 at 09:56
  • After this, when starting emulator, I get message "HAX is working and emulator runs in fast virt mode...", but then also "...Permission denied" and no emulator is opened. – pixel Oct 17 '16 at 17:04
23

Recently, I have faced this issue. And fixed it by changing CPU/ABI from Intel Atom (x86) to ARM(armeabi-v7a).

  • Select the Virtual Device. Click on Edit
  • Click on CPU/ABI option
  • Change it to ARM(armeabi-v7a) from intel. Click OK

Job done.

Laurel
  • 5,522
  • 11
  • 26
  • 49
Somir Saikia
  • 1,512
  • 1
  • 15
  • 21
20

Try installing it again with the stand alone installer https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement - assuming you have a CPU that supports Virtualization, have turned off antivirus and any hypervisor.

codecats
  • 1,720
  • 1
  • 10
  • 9
  • @codecats: this might be totally unrelated, but do you know of any VM that can provide Hardware Virtualization and Hyper-V? Apparently Virtual Box doesn't support that. – Mona Jalal Jul 01 '15 at 17:46
  • I suggest you enter this as a new question and I think you'll get multiple responses about the possibilities. – codecats Jul 01 '15 at 18:35
  • My CPU does not support virtualization, is there any opportunity to go round? – Jürgen K. Aug 07 '15 at 12:44
  • @Jurgen - what CPU do you have? There's always genymotion for non HAXM capable systems – codecats Aug 07 '15 at 15:07
  • B970, its in a Hp 650. The bios has not the opition to turn on/off virtualization in my HP laptop – Jürgen K. Aug 12 '15 at 10:24
  • That's a pentium from '012 - it does NOT have VT capability so HAXM is NOT an option. You could try genymotion. – codecats Aug 12 '15 at 18:22
13

After reading many questions on stackoverflow I found out that my CPU does not support Virtualization. I have to upgrade to the cpu which supports Virtualization in order to install Intel X 86 Emulator accelerator(Haxm Installer)

georger
  • 1,310
  • 19
  • 23
Utkarsh Dixit
  • 3,476
  • 2
  • 12
  • 34
  • Which processor you are using? – Jeba Prince Jun 24 '15 at 04:57
  • @achieverprince it's pretty old one, it does not support virtualization. Now bought the new PC , it supports the virtualization but not the intel virtualization (AMD). – Utkarsh Dixit Jun 28 '15 at 06:55
  • got it, so even now you cant use Haxm since it is not intel. – Jeba Prince Jun 29 '15 at 11:51
  • 1
    @achieverprince Yup, i am using Genymotion for my android apps now. The android studio IDE should do something for AMD users – Utkarsh Dixit Jun 29 '15 at 16:10
  • In my PC there is no virtualization. i can't install from sdk folder showing error "This Computer does not support Intel Virtuliazation TEchnology (Vt-x)" – Prasad Feb 10 '16 at 09:55
  • @Prasad That's what the this answer is saying. If there is no visualization and that to of intel than you can't install HAXM. You ought to buy some new CPU that supports this or use any other emulator like GenyMotion. – Utkarsh Dixit Feb 12 '16 at 17:02
8

Since most modern CPUs support virtualization natively, the reason you received such message can be because virtualization is turned off on your machine. For example, that was the case on my HP laptop - the factory setting for hardware virtualization was "Disabled". So, go to your machine's BIOS and enable virtualization.

Alexey
  • 1,119
  • 2
  • 14
  • 23
7

First you need to turn on virtualization on your machine. To do that, restart your machine. Press F2. Goto BIOS. Make Virtualization Enabled. Press F10. Start windows. Now, goto Extras folder of Android installation folder and find intel-haxm-android.exe. Run it. Start Android Studio. Now, it should allow you to run your program using emulator.

Sanuja
  • 71
  • 1
3

Turning off HyperV on windows 8.1 did the trick for me

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

ctong
  • 185
  • 1
  • 3