I can't install intel HAXM
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]
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`
Related videos on Youtube
Felipe
Updated on September 25, 2021Comments
-
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 about 9 yearsYou need to install additional sdk images. See this thread: stackoverflow.com/questions/26355645/error-in-launching-avd
-
Felipe about 9 yearsI am sorry, but I did not find anything that could help me there.
-
vilpe89 about 8 yearsDid you "installed" it from Android SDK Manager?
-
Ohad Bitton over 5 yearsAfter 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 over 5 yearsBefore you rip your hair out and waste valuable time: Does not work with AMD processors!! stackoverflow.com/questions/25263360/…
-
Amisha Kirti over 3 yearsI gave a solution to it for Mac in this question Android Studio Intel HAXM installation failed.
-
-
Felipe about 9 yearscodecats, 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 about 9 yearsstart 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 over 8 yearsThis 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 over 6 yearsI 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 almost 6 yearsSorry for the disturbing you @Felipe Please help me out for this solution stackoverflow.com/questions/50812600/…
-
Ali almost 6 yearsSorry for the disturbing you @vilpe89 Please help me out for this solution stackoverflow.com/questions/50812600/…
-
Brian Lacy almost 6 years@codecats Downvoted. Please preface your answer with a brief explanation of the purpose of the instructions listed here.
-
AndreiBogdan over 5 yearsMine 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 almost 5 yearsFor 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 almost 5 yearsAndroid 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 over 4 yearsJust 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 over 4 yearsalso remember to stop your antivirus before you start your installation.
-
Šemsudin Tafilović over 4 yearsVisual 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 over 4 yearsSame with me :)
-
Amin Keshavarzian over 4 yearsmake sure you have closed all emulators before that
-
Peter Cordes about 4 yearsDo 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 about 4 yearsI updated my answer @PeterCordes. I think 775 should be sufficient, i just did 777 because of frustration at the time.
-
Spectorsky about 4 yearslucidbrot, thanks a lot! Your advice is as simple as helpful!
-
Gabriel C. about 4 yearsThis is the answer that should be everywhere for AMD users that just want to get the Android emulator up and running.
-
Mo Beigi almost 4 yearsWorked for me with AMD!
-
DIRTY DAVE almost 4 years@AndreiBogdan That fixed my issue, Thanks!!
-
Julien Jm over 3 yearsThanks a lot ! Worked perfectly with your answer ! #AMD forever
-
Ali Sajjad over 3 yearsBut what if we need HyperV ?? Why do we have to disable it?
-
Sjd over 2 yearsAbsolutely worked for me!! Thank you for the link and solution!
-
djangodev almost 2 yearsThanks, I already had Visual C++ but enabling virtualization technology in BIOS was my fix!