Home > OS >  Visual Studio - Android emulator will run unaccelerated when starting Maui Blazor app
Visual Studio - Android emulator will run unaccelerated when starting Maui Blazor app

Time:08-12

Windows 10 x-64, all latest updates. I just upgraded Visual Studio 2022 Community to 17.3.0, which includes Maui.

Following the enter image description here

...and then rebooted.

I created a new Maui app, and following the instructions in the "Build and run the application on Android" section of Visual Studio warning - Android emulator will run unaccelerated

According to the hardware virtualisation page I linked above, I should be able to accelerate the hardware using an AMD Ryzen processor. I ran enter image description here

Whilst the Hyper-V requirements look fine, I'm puzzled why the emulator output says that Hyper-V is not installed. As you can see from the Windows Features screenshot, and the output from systeminfo it seems it is.

My PC has an Aorus X570 Elite motherboard, with an AMD Ryzen 9 3900X processor. As far as I can see from searching, this should be fine for this.

Anyone able to help? I'm brand new at virtualisation, acceleration and emulators, so might be doing something basic wrong here.

Thanks for any help you can give.

CodePudding user response:

In the instructions you followed it mentions that as of Windows 10 October 18 Windows Hypervisor Platform is enabled by default:

On Windows 10 October 2018 Update (RS5) and higher, you only need to enable Hyper-V, as it will use Windows Hypervisor Platform (WHPX) automatically.

You should therefore uncheck it from Windows Features it will be enabled for you.

  • Related