I have windows 10 Home and AMD ryzen 5 processor. I'm using android studio 4.0 canary 7 (I also tried the latest stable version with the same error). I'm following the official tutorial to enable the Android Emulator for AMD Processors here..
https://androidstudio.googleblog.com/2019/12/emulator-29211-and-amd-hypervisor-12-to.html
This is relatively new and I created an issue for them but wanted to see if someone might help with this or had this problem before. So everything looks good until the step to install gvm as administrator by going to the directory (Android_Emulator_HyperVisor_Driver) and running silent_install.bat. For some reason it is failing to run the service and I get the following error
[SC] ControlService FAILED 1062:
The service has not been started.
[SC] DeleteService SUCCESS
[SC] StartService FAILED with error 4294967201.
Hypervisor platform is disabled (It should according to this latest tutorial as this is different than how it was last year). Any feedback or suggestions are appreciated.
The Android Emulator Hypervisor Driver for AMD Processors can be installed via the SDK Manager in Android Studio 4.0 Canary 5 or later, or from Github (see below). To install from the SDK Manager, follow these steps: Open Tools->SDK Manager.
Android Emulator Hypervisor Driver for AMD Processors is a hypervisor to accelerate Android Emulator. It is made by porting KVM to Windows (Windows 7 or later, 64bit). Android Emulator Hypervisor Driver for AMD Processors runs as a Windows driver.
Again, for existing Windows users who have an Intel-based processor, the Android Emulator will continue to use the faster and recommended Intel HAXM configuration. For those using AMD processors, and those who use Hyper-V hypervisors, this should be an exciting step forward to start using the Android Emulator.
If you tried everything (turning windows features off, enabling svm in bios..etc) and still didn't work, type bcdedit
in the command prompt, and press ENTER. If you see an entry for hypervisorlaunchtype set to Auto, Hyper-V is still enabled. You can try setting the launch type to Off by running the command below.
bcdedit /set hypervisorlaunchtype off
That's the only thing that worked for me after trying literally everything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With