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

Stopped working upon updating to Windows 11 - 4294967201 error

Open norbert-sziraczki opened this issue 4 years ago • 11 comments

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.

norbert-sziraczki avatar Oct 06 '21 09:10 norbert-sziraczki

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 avatar Oct 06 '21 11:10 AntonyLeons

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.

AntonyLeons avatar Oct 06 '21 11:10 AntonyLeons

Wouldn't that kill docker engine from working?

norbert-sziraczki avatar Oct 06 '21 13:10 norbert-sziraczki

yes unfortunately

AntonyLeons avatar Oct 06 '21 13:10 AntonyLeons

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.

norbert-sziraczki avatar Oct 06 '21 13:10 norbert-sziraczki

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.

HarrisTheBarbarian avatar Oct 25 '21 12:10 HarrisTheBarbarian

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

tramcrazy avatar Oct 28 '21 08:10 tramcrazy

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.

MarcosRiosC avatar Oct 29 '21 01:10 MarcosRiosC

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

cconstab avatar Nov 01 '21 20:11 cconstab

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

mwoodpatrick avatar Nov 14 '21 12:11 mwoodpatrick