Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator in visual studio not launching even though Hyper-V is installed and enabled

I am attempting to run android emulator through Visual Studio 2019 to test an app I am creating with Xamarin. I followed the steps to enable and install Hyper-V as outlined in the documentation: Documentation

When I try to launch my emulated device I get this message:

Starting emulator pixel_3_pie_9_0_api_28 ...
1>Waiting for runtime checks to complete
Emulator pixel_3_pie_9_0_api_28 cannot be started.
Runtime checks completed
1>Starting deployment to pixel_3_pie_9_0_api_28 ...
1>Starting emulator pixel_3_pie_9_0_api_28 ...
1>Launching the Android Emulator pixel_3_pie_9_0_api_28 on Hyper-V needs the Windows Hypervisor Platform installed and enabled.
1>
1>Please configure it using the Turn Windows features on or off dialog.
1>
Build has been canceled.

I am not sure why this is happening as I have Hyper-V installed and enabled. Any ideas would be wonderful!

Relevant Images: Windows Features CMD

like image 704
Nash Avatar asked Oct 22 '25 02:10

Nash


1 Answers

If have changed Windows Hypervisor Platform option ,

enter image description here

Then you need to restart computer , then it can work.

enter image description here

Last when creating device , select a processor type for this virtual device by clicking the Processor pull-down menu. Selecting x86 will provide the best performance because it enables the emulator to take advantage of hardware acceleration.

enter image description here

like image 138
Junior Jiang Avatar answered Oct 23 '25 17:10

Junior Jiang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!