Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

HAXM is not getting installed in Windows10 #301

Closed
embeddedprojecthub opened this issue Jun 6, 2020 · 12 comments
Closed

HAXM is not getting installed in Windows10 #301

embeddedprojecthub opened this issue Jun 6, 2020 · 12 comments

Comments

@embeddedprojecthub
Copy link

While installing the Android studio on windows 10 system, HAXM library installation failed with error.
please find the snapshot for reference.

image

@wayne-ma
Copy link
Contributor

wayne-ma commented Jun 8, 2020

Hi @embeddedprojecthub ,thanks for reporting the issue. Could you share me your CPU model(Intel or AMD)? As HAXM only supports Intel CPU so far. If you are using the Intel CPU, please check if you enabled Intel VT and disabled Hyper-V. If you are sure your system configuration supports HAXM, you can try to install haxm manually from below release package.
https://github.com/intel/haxm/releases/download/v7.6.1/haxm-windows_v7_6_1.zip

@embeddedprojecthub
Copy link
Author

Hi,
My system has an Intel Core I5 7th Gen Processor. and How do I check that enabled Intel VT and disabled Hyper-V in my system?

@wayne-ma
Copy link
Contributor

Hi @embeddedprojecthub ,

  1. You can refer to the HAXM installation guide for windows first.
    2.Then check the Intel VT status in BIOS.
    3.If the VT was enabled, then open the windows prompt window with admin privilege and type 'bcdedit /set hypervisorlaunchtype off' to disable hyper-V. Reboot your PC and try again.

@Arax20
Copy link

Arax20 commented Jul 9, 2020

I had the same issue, with Vvrtualization enabled in my BIOS and task manager displaying "virtualization: enabled" for my CPU. The solution was to run bcdedit /set hypervisorlaunchtype off in powershell and reboot then installing HAXM.

@wayne-ma
Copy link
Contributor

wayne-ma commented Jul 9, 2020

I had the same issue, with Vvrtualization enabled in my BIOS and task manager displaying "virtualization: enabled" for my CPU. The solution was to run bcdedit /set hypervisorlaunchtype off in powershell and reboot then installing HAXM.

Hi @Arax20 , do you still meet the installation issue or resolve it by running the cmd?

@Arax20
Copy link

Arax20 commented Jul 9, 2020

@wayne-ma ,
After running the cmd, I used the standalone installer which ran without any issues. Android studio then shows Intel HAXM as being successfully installed in the SDK manager.
I assume the command disabled hyper-V but it is strange since hyper-V was already shown as disabled in windows features.

@wayne-ma
Copy link
Contributor

@wayne-ma ,
After running the cmd, I used the standalone installer which ran without any issues. Android studio then shows Intel HAXM as being successfully installed in the SDK manager.
I assume the command disabled hyper-V but it is strange since hyper-V was already shown as disabled in windows features.

@Arax20 , yes absolutely, we also noticed that sometimes only the command could disable hyper-v completely even if the Hypver-v status is disabled in windows features.

@newguy
Copy link

newguy commented Aug 18, 2021

hello,

Does anybody have a practical solution to this problem. I have done all the suggestion here and the HAXM still fails. Is there any other way?

@wcwang
Copy link
Contributor

wcwang commented Aug 18, 2021

Thanks for your report. Could you check your system environment according to this wiki page first? Then you may share your installation log for our further analysis.

@danieldogeanu
Copy link

danieldogeanu commented Sep 5, 2021

Hey guys, I just wanted to point out that if you have Docker Desktop installed, even with WSL2 instead of Hyper-V, it will cause this problem, as it depends on this setting to be on auto: bcdedit /set hypervisorlaunchtype auto.

But if you turn it off just to install HAXM and turn it back to auto after that, seems to work just fine. I tested it with both Docker and Android Studio running at the same time and no issues occurred. Leaving it off will break both Docker and WSL2!

@ambal1330
Copy link

ambal1330 commented Dec 16, 2021

i did all suggestions and my system environment also meet as required, but still i am not able to install.

@Lamsdeen
Copy link

i did all suggestions and my system environment also meet as required, but still i am not able to install.

Same brother, I did everything aswell. Please have you been able to figure out the solution yet?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants