android-emulator-hypervisor-driver icon indicating copy to clipboard operation
android-emulator-hypervisor-driver copied to clipboard

Issue while installing Android Emulator Hypervisor for AMD Processor

Open Dinesh-Murugesan opened this issue 5 years ago • 20 comments

I am facing the below issue while trying to install Android Emulator for AMD Processor

"Running Android Emulator Hypervisor Driver for AMD Processors installer [SC] ControlService FAILED 1062:

The service has not been started.

[SC] DeleteService SUCCESS [SC] StartService FAILED with error 4294967201. Android Emulator Hypervisor Driver for AMD Processors installation failed. To install Android Emulator Hypervisor Driver for AMD Processors follow the instructions found at: https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors Done"

I have enable the virtualization in BIOS and disabled Hyper-V in the windows feature. But still I am not able to install the Android Emulator. Please help

Dinesh-Murugesan avatar Jul 23 '20 12:07 Dinesh-Murugesan

I am also having this exact issue. Please advise

wesleydeland avatar Jul 26 '20 17:07 wesleydeland

Can you run "emulator-check.exe hyper-v" and post the result?

Taogle2018 avatar Jul 27 '20 22:07 Taogle2018

I had the same problem, and if I run "emulator-check.exe hyper v" my computer opens a window, but close it instantly

MagicCrafter200 avatar Jul 28 '20 08:07 MagicCrafter200

@MagicCrafter200 This is what it looks like when I run it on my desktop. Capture I don't quite understand what do you mean by "opens a window, but close it instantly".

Taogle2018 avatar Jul 28 '20 17:07 Taogle2018

@Veteranfighter Did you turn on virtualization in BIOS?

Taogle2018 avatar Jul 30 '20 16:07 Taogle2018

After verifying that none of the virtualization features were enabled and the BIOS virtualization is disabled, I also am encountering this. The silent_install.bat simply terminates in the exact error already posted here.

UPDATE: After enabling virtualization from the BIOS, it worked! I misread the requirement to ensure the virtualization be enabled in the BIOS.

danherrera avatar Jul 30 '20 19:07 danherrera

If it helps - in Windows 10 ver.2004 I can disable Hyper-V only after removing "Hyper-V", "Windows Hypervisor Plarform" and "Virtual Machine Platform" components from Windows features. Until that "emulator-check.exe hyper-v" showed that Hyper-V is enabled.

tarpaha avatar Aug 04 '20 22:08 tarpaha

I am facing the same problem . Virtualization is enabled from bios. Hypervisor platform is unchecked from windows features but when i typed "emulator-check.exe hyper v" in cmd it shows 2 and hyper v is enabled. what to do now to install emulator? help ..!!!

karanjadhav12 avatar Aug 05 '20 22:08 karanjadhav12

Did you have a chance to read the following wiki page? https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors/wiki/Is-Hyper-V-really-disabled%3F

But be noted that certain version of Windows 10 has a bug. Basically you cannot disable Hyper-V once you enable it. I hope you are not getting into that trouble.

Taogle2018 avatar Aug 05 '20 22:08 Taogle2018

Done. Android Emulator for AMD processors installed. Thank You!!! I think hyper v takes some time to disable . I tried to do the same thing few hours back , it showed the same error ... but then it got installed when i tried again... now when i type the above command in cmd it shows "hyper v is not installed" which is the requirement.

karanjadhav12 avatar Aug 06 '20 07:08 karanjadhav12

Great to hear that the problem is solved.

Taogle2018 avatar Aug 06 '20 17:08 Taogle2018

I am facing the same problem . Virtualization is enabled from bios. Hypervisor platform is unchecked from windows features but when i typed "emulator-check.exe hyper v" in cmd it shows 2 and hyper v is enabled. what to do now to install emulator? help ..!!!

I'm facing the same issue !! Plzz resolve sooner !! Thanks a million !!

arixank avatar Aug 22 '20 09:08 arixank

I am facing the below issue while trying to install Android Emulator for AMD Processor

"Running Android Emulator Hypervisor Driver for AMD Processors installer [SC] ControlService FAILED 1062:

The service has not been started.

[SC] DeleteService SUCCESS [SC] StartService FAILED with error 4294967201. Android Emulator Hypervisor Driver for AMD Processors installation failed. To install Android Emulator Hypervisor Driver for AMD Processors follow the instructions found at: https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors Done"

I have enable the virtualization in BIOS and disabled Hyper-V in the windows feature. But still I am not able to install the Android Emulator. Please help

Here is a solution that worked for me : https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors/issues/31#issuecomment-678628022

arixank avatar Aug 22 '20 11:08 arixank

You have to enable the SVM mode to enable in BIOS. Even i have faced the issue then have enabled it worked out. To help out others i have made youtube video so that it can help others who are facing the issue like me. Please checkout to visualize the steps and rectify it. https://youtu.be/OB1IxZ8hq7g

jchaitanya16 avatar Nov 10 '20 16:11 jchaitanya16

Did you have a chance to read the following wiki page? https://github.com/google/android-emulator-hypervisor-driver-for-amd-processors/wiki/Is-Hyper-V-really-disabled%3F

But be noted that certain version of Windows 10 has a bug. Basically you cannot disable Hyper-V once you enable it. I hope you are not getting into that trouble.

So am I seeing this right? You cannot use the android emulator while running WSL / Docker for Desktop? Okay, sorry: Disabling the Windows Virtual Machine Platform is not an option for me. Seems to be a good time switching to Linux.

linus-ha avatar Jan 24 '21 00:01 linus-ha

"Windows Subsystem for Linux version 2 requires Virtual Machine Platform" so if you use WSL2 with that feature on you can't use this?

XeonG avatar Mar 14 '21 16:03 XeonG

Yes. But you still could use WSL1 if that is enough. I have disabled vbs and hyper-v and virtual machine platform and so on, and when i run: wsl --set-default-version 2 i get the following output:

Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/wsl2-install

But my debian VM running on WSL1 still is working fine.

DPSB avatar Mar 15 '21 18:03 DPSB

[SC] StartService FAILED with error 4294967201 + this error in the event log "The resource loader failed to find MUI file". SVM definitely on (i used to run an earlier version of android studio just fine), hyperv definitely off (checked with powershell, etc.). Also tried setting the "disabling" settings for deviceguard. wsl v2 not running.

earonesty avatar Mar 18 '21 18:03 earonesty

@earonesty You might take a look here, there is some more usefull information related to this error code

Make sure Hyper-V, Guarded Host, Virtual Machine Platform, Windows Sandbox & Microsoft Defender Application Guard are disabled in the optional features, and check if your antivirus is blocking anything.

DPSB avatar Mar 19 '21 11:03 DPSB

You can try this way, I fix it by turning on virtuallization on Bios: https://youtu.be/9LVazV4IJ_g

Gianguyen1234 avatar Nov 20 '22 10:11 Gianguyen1234