I can't install intel HAXM

430,805

Solution 1

Alright, so I did everything I could possibly find online, and nothing worked.

So I went to the Intel website, and I downloaded the HAXM installer that they provide (instead of using the one downloaded through Android Studio).

The installation actually went through with this installer and it was installed successfully. Then I open Android Studio, and the emulator finally loaded!

So, for anyone else having this problem, just download the installer directly from the Intel website.

Here's the link:

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

Solution 2

I think your problem was that you thought that the installer in Android SDK Manager would actually INSTALL the Intel HAXM. But the hook is that it WILL NOT INSTALL it. What it does is extracts the files needed for (really) install Intel HAXM.

I found that out when I got the same problem and then read this in Intel's web page:

Downloading through Android* SDK Manager

... Other steps ...

5) 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 get it installed.

6) Run the installer inside the /sdk/extras/intel/Hardware_Accelerated_Execution_Manager/ directory and follow the installation instructions for your platform.

So all I needed to do was go to folder where my Android SDK was, opened that folder (sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager) and run the silent_install.bat.

After this when I launched my emulator, it said this:

HAXM is working and emulator runs fast virt mode

and everything works as should!

You can also use some useful parameters with silent_install.bat:

  • -v Print HAXM version
  • -c Check VT/NX capability of the platform
  • -h Print usage

Solution 3

Make sure the emulator is not running while installing HAXM. Otherwise, there will be an error which you only see when using the standalone installer but not within Android Studio or IntelliJ Idea.

Solution 4

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

or

bcdedit /set hypervisorlaunchtype off

Other things you may need to do:

  • If using Avast? disable Enable hardware-assisted virtualization under: Settings > Troubleshooting
  • bcdedit /set nx AlwaysOn
  • sfc /scannow and reboot

Important: After anything you try, Restart the PC and try to run the HAXM installation again

Solution 5

I faced this problem.I got the solution too.It will work.

Step 1: Go to your BIOS settings and check that INTERNET VIRTUAL TECHNOLOGY is Enabled or Disabled.

And make sure HYPER V is disabled. To disable it : a)Go to Control Panel b)Click on Programs(Uninstall a Program) c)Then click on Turn Windows features on or off , then look for HYPER-V and untick it. And Restart. If disabled then enable it.

Step 2: Try to install Intel HAXM now and restart. If It shows same problem again. go to Step 3.

Step 3: You have to disable Digitally Signed Enforcement. To disable it permanently you have to make sure that Secure Boot option is disabled in your system.

How to check ?

Answer is given in the following link. I found it in Internet.[Thanks whoever made that blog]

link : http://www.windowspasswordsrecovery.com/win8-tips/how-to-disable-uefi-secure-boot-in-windows-8-1-8.html

Step 4: Now restart again.

To disable driver signature enforcement permanently in Windows 10, you need to do the following:

1.Open an elevated command prompt instance.
2.Type/paste the following text:

     `bcdedit.exe /set nointegritychecks on`

or Windows 10

     `bcedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS`

Windows 10 disable driver signature enforcement

Restart Windows 10.

*If you somehow want to enable it again:

1.Type/paste the following text:

     `bcdedit.exe /set nointegritychecks off`
Share:
430,805

Related videos on Youtube

Felipe
Author by

Felipe

Updated on September 25, 2021

Comments

  • Felipe
    Felipe over 2 years

    I installed Android Studio and I had no problems with that. However, when I tried to run the emulator, it said that Intel HAXM was not installed.

    So I found the installer, ran it, and it even though it said my laptop supports it, that it was not enabled. I went, enabled the Intel Virtualization Technology (VT-x), but I still got the same message.

    I hear something about Hyper-V needs to be disabled, but when I go to Turn Windows features on/off, I cannot find it on that list.

    Can someone help me with this?

    • T D Nguyen
      T D Nguyen about 9 years
      You need to install additional sdk images. See this thread: stackoverflow.com/questions/26355645/error-in-launching-avd
    • Felipe
      Felipe about 9 years
      I am sorry, but I did not find anything that could help me there.
    • vilpe89
      vilpe89 about 8 years
      Did you "installed" it from Android SDK Manager?
    • Ohad Bitton
      Ohad Bitton over 5 years
      After installation failed - go to the bottom right of android studio and select the event log - you will see details of the error, or look for the log file haxm_log.txt. Your computer may not support it.
    • Sean Anderson
      Sean Anderson over 5 years
      Before you rip your hair out and waste valuable time: Does not work with AMD processors!! stackoverflow.com/questions/25263360/…
    • Amisha Kirti
      Amisha Kirti over 3 years
      I gave a solution to it for Mac in this question Android Studio Intel HAXM installation failed.
  • Felipe
    Felipe about 9 years
    codecats, I tried running the first and second lines on the cmd, but it says I do not have permission (even though I am the administrator and it's my own computer). Do I need to do something or use that somewhere else?
  • codecats
    codecats about 9 years
    start cmd.exe from Task Manager and be sure to click run with admin privileges (or if you can right click it and get the admin option)
  • Juanu
    Juanu over 8 years
    This actually helped me. Even though I had disabled HyperV from the Hyper-V Manager, it still didn't work. Just by running the first command (dism.exe /Online /Disable-Feature:Microsoft-Hyper-V) It finally allowed me to install HAXM. Thanks!
  • deadlydog
    deadlydog over 6 years
    I tried using the installer and it said Intel Virtualization Technology (VT-x) is not turned on. HAXM cannot be installed until VT-x is enabled.. I had to go into my BIOS and enable the Virtualization Technology and then I was able to get it installed.
  • Ali
    Ali almost 6 years
    Sorry for the disturbing you @Felipe Please help me out for this solution stackoverflow.com/questions/50812600/…
  • Ali
    Ali almost 6 years
    Sorry for the disturbing you @vilpe89 Please help me out for this solution stackoverflow.com/questions/50812600/…
  • Brian Lacy
    Brian Lacy almost 6 years
    @codecats Downvoted. Please preface your answer with a brief explanation of the purpose of the instructions listed here.
  • AndreiBogdan
    AndreiBogdan over 5 years
    Mine didn't work as well, but i was having an emulator open when trying to install it. I closed it and then it worked.
  • garnet
    garnet almost 5 years
    For me upgrade of HAXM failed with Android Studio 3.4.1. After stopping the emulator, the SDK installation wizard retried the installation and it worked fine.
  • Sean Dev
    Sean Dev almost 5 years
    Android Studio 3.4 suggest this link: software.intel.com/android/articles/… which 404s -- so anyone googling that link it will be brought here to the correct one.
  • MohK
    MohK over 4 years
    Just to update, the link redirects to github.com/intel/haxm , so updated binaries could be downloaded from github.com/intel/haxm/releases/latest
  • Abdul Wahid
    Abdul Wahid over 4 years
    also remember to stop your antivirus before you start your installation.
  • Šemsudin Tafilović
    Šemsudin Tafilović over 4 years
    Visual C++ was final missing step after enabling virtualization in BIOS, checking Hyper-V and Windows Hypervision Platform in Programs and Features. Amd Ryzen 7 3700x processor. After that I was able to successfully run Android Q on emulator.
  • shaby
    shaby over 4 years
    Same with me :)
  • Amin Keshavarzian
    Amin Keshavarzian over 4 years
    make sure you have closed all emulators before that
  • Peter Cordes
    Peter Cordes about 4 years
    Do you really need write permission for "other"? That lets other users on the system write into your directory, and delete files from your directory. Would 775 be sufficient?
  • ahsan.dev
    ahsan.dev about 4 years
    I updated my answer @PeterCordes. I think 775 should be sufficient, i just did 777 because of frustration at the time.
  • Spectorsky
    Spectorsky about 4 years
    lucidbrot, thanks a lot! Your advice is as simple as helpful!
  • Gabriel C.
    Gabriel C. about 4 years
    This is the answer that should be everywhere for AMD users that just want to get the Android emulator up and running.
  • Mo Beigi
    Mo Beigi almost 4 years
    Worked for me with AMD!
  • DIRTY DAVE
    DIRTY DAVE almost 4 years
    @AndreiBogdan That fixed my issue, Thanks!!
  • Julien Jm
    Julien Jm over 3 years
    Thanks a lot ! Worked perfectly with your answer ! #AMD forever
  • Ali Sajjad
    Ali Sajjad over 3 years
    But what if we need HyperV ?? Why do we have to disable it?
  • Sjd
    Sjd over 2 years
    Absolutely worked for me!! Thank you for the link and solution!
  • djangodev
    djangodev almost 2 years
    Thanks, I already had Visual C++ but enabling virtualization technology in BIOS was my fix!