google / android-emulator-hypervisor-driver

Other
778 stars 252 forks source link

Stopped working upon updating to Windows 11 - 4294967201 error #67

Open norbert-sziraczki opened 3 years ago

norbert-sziraczki commented 3 years ago

My setup was working correctly in Windows 10, using Docker and Android Emulator at the same time. I've updated my system to Windows 11 (regular update, not a clean install), and I've been unable to run Android Emulator since then.

image

The PC is an MSI B550 Tomahawk with a Ryzen 5800. SVM is enabled in bios, Hype-V is disabled.

AntonyLeons commented 3 years ago

In windows 11, hyper-v is inactive looking at windows features, yet system info showed "a hypervisor has been detected". disabling the 'Virtual Machine Platform' fixes this but kills wsl2.

AntonyLeons commented 3 years ago

if that doesn't work, you can run the command below to force it off but i don't know how that will affect windows 11 bcdedit /set hypervisorlaunchtype off restart after you run it.

norbert-sziraczki commented 3 years ago

Wouldn't that kill docker engine from working?

AntonyLeons commented 3 years ago

yes unfortunately

norbert-sziraczki commented 3 years ago

Well that would be a requirement - and it was working perfectly in W10. I need to run a backend environment, while developing an Android app.

HarrisTheBarbarian commented 2 years ago

This is happening on Windows 10 \Android_Emulator_Hypervisor_Driver>silent_install.bat [SC] ControlService FAILED 1062:

The service has not been started.

[SC] DeleteService SUCCESS [SC] StartService FAILED with error 4294967201.

tramcrazy commented 2 years ago

I'm having this issue too on trying to install Android Studio for the first time (I'm running Win11). I need WSL2!

MarcosRiosC commented 2 years ago

I have wsl2 active W11, ignore android studio amd driver error, go to avd and create VM. Wait for fix on the next release. If not work enable -> (check) Windows Hypervisor Platform, restart, and run VM again.

cconstab commented 2 years ago

Same findings... I can either have Android Emulators running and not WSL2 or the other way around. Running WIndows 11 fully updated as of 11/1/2021.

The catch circles around enabling or disabling Virtual Machine Platform. Service fails to run if this is enabled but WSL2 will not run unless this is enabled..

image

mwoodpatrick commented 2 years ago

There is now a fix for this see https://issuetracker.google.com/issues/202188690#comment45 so far its working for me though I fairly new to this tool