intel / haxm

Intel® Hardware Accelerated Execution Manager (Intel® HAXM)
BSD 3-Clause "New" or "Revised" License
3.18k stars 861 forks source link

Installation has been stopped(log file attached) #361

Open mmol93 opened 3 years ago

mmol93 commented 3 years ago

Version: 7.6.5 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported - No VMX enabled - No EPT supported - No NX supported Yes NX enabled Yes Hyper-V disabled - No OS version Windows 10.0.18363 OS architecture x86_64 Guest unoccupied * Yes. 0 guest(s) The system requirements are not satisfied.

I don't know what is the problem...

Fortunately I can run android emulator but, I'm not sure it's ok..

wayne-ma commented 3 years ago

Hi @mmol93 ,seems you did not enable VT in bios nor disable Hyper-V. So please try to enable VT in BIOS then disable Hyper-V via 'bcdedit /set hypervisorlaunchtype off' in the windows terminal with admin privilege . Then reboot you PC for trying again.

LuSuAllen commented 3 years ago

I have same issue, but it was Guest unoccupied, No 1 guest

wayne-ma commented 3 years ago

I have same issue, but it was Guest unoccupied, No 1 guest

Hi @LuSuAllen ,could you raise a new issue about what you met? Better to provide more details info about your PC/SW configuration and steps.

demberto commented 3 years ago

HyperV is enabled on your device. You need to disable it from Windows features. Since HyperV is enabled, the checktool/installer cannot detect/use VMX/EPT as HyperV has exclusive access to those features

aneesha178 commented 3 years ago

Version: 7.6.5 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported Yes VMX enabled - No EPT supported Yes NX supported Yes NX enabled Yes Hyper-V disabled Yes OS version Windows 10.0.14393 OS architecture x86_64 Guest unoccupied Yes. 0 guest(s) The system requirements are not satisfied.

I am having the same error. I am new to android development and need to match the requirements to install HAXM. I don't know where is the problem. Shall VMX enabled be yes? If so, how do I enable it? If not, what is the problem?

wcwang commented 3 years ago

Thanks for your questions. This wiki page may help you to resolve installation issues.

aneesha178 commented 3 years ago

My issue is resolved. I just had to enable virtualization in my BIOS.

wayne-ma commented 3 years ago

My issue is resolved. I just had to enable virtualization in my BIOS.

Good to know:)

cvamsikrishna11 commented 2 years ago

Hi @mmol93 ,seems you did not enable VT in bios nor disable Hyper-V. So please try to enable VT in BIOS then disable Hyper-V via 'bcdedit /set hypervisorlaunchtype off' in the windows terminal with admin privilege . Then reboot you PC for trying again.

Thanks @wayne-ma it helped!!

Touhid2605 commented 2 years ago

To reinstall the current version: 7.6.5 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported Yes VMX enabled Yes EPT supported Yes NX supported Yes NX enabled Yes Hyper-V disabled Yes OS version Windows 6.1.7601 OS architecture x86_64 Guest unoccupied - No. 1 guest(s) The system requirements are not satisfied.

I can't install HAXM from android studio. As long I go through with the error I find this Guest unoccupied - No. 1 guest(s). How do I solve this problem?

wcwang commented 2 years ago

Thanks for your report. In this case, there should already be an Android Emulator running on your host. You should terminate the emulator process first. You can refer to the wiki page for more details. Thanks.

AndymcCone commented 2 years ago

Version: 7.6.5 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported - No VMX enabled - No EPT supported - No NX supported Yes NX enabled Yes Hyper-V disabled - No OS version Windows 10.0.19043 OS architecture x86_64 Guest unoccupied * Yes. 0 guest(s) The system requirements are not satisfied.

Similar issue. Virtualization is enabled in BIOS.

I'm running Win 10 Home though, so started to wonder if it's just not possible to install HAXM on home version of windows. WSL2 Linux seems to work fine, so didn't think home version lacks all virtualization support.

wcwang commented 2 years ago

@AndymcCone, thanks for your report. Could you try to run below command in an elevated Command Prompt to disable Hyper-V and disable WSL2 in Windows Features? Then reboot Windows to reinstall HAXM.

bcdedit /set hypervisorlaunchtype off

AndymcCone commented 2 years ago

Hey, thanks for you reply. I'll try that when I get back home. Wasn't sure it was even possible to activate Hyper-V in Windows 10 Home -version.

ke 27. lokak. 2021 klo 11.19 Wenchao Wang @.***> kirjoitti:

@AndymcCone https://github.com/AndymcCone, thanks for your report. Could you try to run below command in an elevated Command Prompt to disable Hyper-V and disable WSL2 in Windows Features? Then reboot Windows to reinstall HAXM.

bcdedit /set hypervisorlaunchtype off

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/intel/haxm/issues/361#issuecomment-952656927, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRUJQ2CJT44RXQ7SIVE3T3UI6YYRANCNFSM42RXPDGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ndukachukz commented 2 years ago

Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported - No VMX enabled - No EPT supported - No NX supported Yes NX enabled Yes Hyper-V disabled - No OS version Windows 10.0.19043 OS architecture x86_64 Guest unoccupied * Yes. 0 guest(s) Execute: cmd.exe /c type "C:\Users\Lasman\Downloads\haxm-windows_v7_7_0 (1)\haxm_install-20211108_1432.log" > "C:\Users\Lasman\AppData\Local\Temp\haxm_install-20211108_1432.log" Delete file: C:\Users\Lasman\Downloads\haxm-windows_v7_7_0 (1)\haxm_install-20211108_1432.log

i keep having these errors on windows 10 home. i have enabled virtualization from bios settings and ran the command "bcdedit /set hypervisorlaunchtype off" it ran successfully, i reran the installer and i still get the error

Marci0liveira commented 2 years ago

I have the same problem as reported by @ndukachukz, please check the log file below:

Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported - No VMX enabled - No EPT supported - No NX supported Yes NX enabled Yes Hyper-V disabled - No OS version Windows 10.0.19042 OS architecture x86_64 Guest unoccupied * Yes. 0 guest(s) The system requirements are not satisfied.

In spite of being able to run the Android Emulator, it seems haxm is not installed on my machine, even though virtualization is supported and enabled (made sure to check the BIOS), also tried to run "sc query intelhaxm" but got the following response:

**[SC] EnumQueryServicesStatus:OpenService FAILED 1060:

The specified service does not exist as an installed service.**

Besides Hyper-V is disabled. If anyone could please shed a light on this problem I'd be eternally grateful.

wcwang commented 2 years ago

Thanks for your report. It seems that you have to disable Hyper-V according to this wiki page. Could you please try again and provide your latest logs? Thanks.

nevilad commented 2 years ago

There is a feature called "core isolation" in Windows and it uses virtualization. Turning it off may help. This should be probably added to the wiki page.

LogendherDev commented 2 years ago

Version: 7.6.5 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported Yes VMX enabled - No EPT supported Yes NX supported Yes NX enabled Yes Hyper-V disabled Yes OS version Windows 10.0.19044 OS architecture x86_64 Guest unoccupied Yes. 0 guest(s) The system requirements are not satisfied.

wayne-ma commented 2 years ago

@LogendherDev , could you check if vt-d was enabled in your BIOS? And may I know your CPU type?

elan-L commented 2 years ago

I have same issue, but it was Guest unoccupied, No 1 guest

I've encountered the situation same as you, haxm installation failure

Then i search it in google chrome browser and found this luckily solve haxm geuset onoccupied

I check my computer, the Vmware station pro 16 has been installed, but i've not run it. I don't konw how to close it completely. solve: restart your PC, if you are still unable to install the haxm successfully enter the Safe Mode of your PC, then click it to install install successully

elan-L commented 2 years ago

To reinstall the current version: 7.6.5 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported Yes VMX enabled Yes EPT supported Yes NX supported Yes NX enabled Yes Hyper-V disabled Yes OS version Windows 6.1.7601 OS architecture x86_64 Guest unoccupied - No. 1 guest(s) The system requirements are not satisfied.

I can't install HAXM from android studio. As long I go through with the error I find this Guest unoccupied - No. 1 guest(s). How do I solve this problem?

You've met the situation that sames as me, just look at this https://github.com/intel/haxm/issues/361#issuecomment-1052244305

wayne-ma commented 2 years ago

To reinstall the current version: 7.6.5 Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe... 100% Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported Yes VMX enabled Yes EPT supported Yes NX supported Yes NX enabled Yes Hyper-V disabled Yes OS version Windows 6.1.7601 OS architecture x86_64 Guest unoccupied - No. 1 guest(s) The system requirements are not satisfied. I can't install HAXM from android studio. As long I go through with the error I find this Guest unoccupied - No. 1 guest(s). How do I solve this problem?

You've met the situation that sames as me, just look at this #361 (comment)

Great tips. Yes, the guest/vm should be stopped first when you install/uninstall HAXM.

tariqwj commented 2 years ago

Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported Yes VMX enabled Yes EPT supported Yes NX supported Yes NX enabled Yes Hyper-V disabled Yes OS version Windows 10.0.22000 OS architecture x86_64 Guest unoccupied - No. 1 guest(s) Execute: cmd.exe /c type "C:\Users\supbr\Downloads\haxm-windows_v7_7_1\haxm_install-20220410_1743.log" > "C:\Users\supbr\AppData\Local\Temp\haxm_install-20220410_1743.log" Delete file: C:\Users\supbr\Downloads\haxm-windows_v7_7_1\haxm_install-20220410_1743.log

help me please

elan-L commented 2 years ago

received

tariqwj commented 2 years ago

thank you so much guys

wayne-ma commented 2 years ago

Output folder: C:\Program Files\Intel\HAXM Extract: checktool.exe Execute: C:\Program Files\Intel\HAXM\checktool.exe --verbose CPU vendor GenuineIntel Intel64 supported Yes VMX supported Yes VMX enabled Yes EPT supported Yes NX supported Yes NX enabled Yes Hyper-V disabled Yes OS version Windows 10.0.22000 OS architecture x86_64 Guest unoccupied - No. 1 guest(s) Execute: cmd.exe /c type "C:\Users\supbr\Downloads\haxm-windows_v7_7_1\haxm_install-20220410_1743.log" > "C:\Users\supbr\AppData\Local\Temp\haxm_install-20220410_1743.log" Delete file: C:\Users\supbr\Downloads\haxm-windows_v7_7_1\haxm_install-20220410_1743.log

help me please

Seem like you open a guest os with haxm. Please close all the guests then try again.

tariqwj commented 2 years ago

can you guys help me with this one

Packages to install:

Preparing "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 7.6.5)". Downloading http://dl.google.com/android/repository/extras/intel/haxm-windows_v7_6_5.zip "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 7.6.5)" ready. Installing Intel x86 Emulator Accelerator (HAXM installer) in E:.android\avd\extras\intel\Hardware_Accelerated_Execution_Manager "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 7.6.5)" complete. Failed to update status to COMPLETE "Install Intel x86 Emulator Accelerator (HAXM installer) (revision: 7.6.5)" failed. Failed packages:

BryanHorow commented 1 year ago

Worked for Windows 10 Home with a Dell Bios.

Had Virtualization Technology and VT for Directed I/O enabled in Bios since the beginning. Uninstalled Docker for Windows (was just messing with it anyways). Disabled WSL (was using wsl2, didn't delete any distros).

Tried disabling Hyper-V in "Turn Windows features on or off" but could only find Windows Hypervisor Platform unchecked by default (found out Hyper-V is not in Windows Features because I am using Windows 10 Home).

Finally installed HAXM with 'bcdedit /set hypervisorlaunchtype off' (which was the first solution here and skipped accidentally, check wayne-ma comment, should've done that in the beginning instead of turning off and on Virtualization Technology, VT for Directed I/O, and Windows Hypervisor Platform, and seeing which combination works).

It's working with Virtualization Technology and VT for Directed I/O enabled in Bios, Windows Hypervisor Platform disabled in "Turn Windows features on or off", command 'bcdedit /set hypervisorlaunchtype off' executed in cmd, Docker for Windows uninstalled and WSL disabled (these last two should be optional but should be done in case it doesn't work, or at least disabling their services for 0 guests, the same goes for other programs that use virtualization such as Vmware station, check elan-L comment).

haxm

intehaxm

haxtool

Now I can finally run Intel HAXM on Android Studio, hope this helps

androidstudiohaxm

FlyyingMilkshake commented 1 year ago

Hyper-v was already "unchecked" in my windows features, but I "checked", then rebooted, then set it to "unchecked" again. Then I rebooted and changed it from the bios to Intel Virtualization Technology "Disable", restarted it, and changed it back to Intel Virtualization Technology "Enable". I tried to reinstall HAXM with the Android SDK tool and it worked. I guess my Windows was stuck. I don't know why but this method worked for me.

elan-L commented 1 year ago

received

elan-L commented 1 year ago

received