I just update Visual Studio 2017 to version 15.8.0, the one that I've been waiting for a while now, due to its support for Hyper-V accelerated Android emulators using Windows Hypervisor Platform (WHPX).
I've been running Windows 10 version 1803 since May, and I have installed/enabled Windows Hypervisor Platform from "Turn Windows features on or off". Also, I have updated Android SDK and tools as it's described in https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration.
However, when I run any of the accelerated emulators, I get an error:
We've encountered an error with your Windows Hypervisor Platform (WHPX) configuration that is preventing us from running your emulator accelerated.
Please ensure WHPX is properly installed, then perform a factory reset on the emulator and try again.
No log and nothing else. Hence, I'm a bit confused and don't know what I should do next.
Appreciate any help.
P.S. Couple of clarifications:
- I tried both, resetting existing emulators and creating new ones.
- I run Hyper-V virtual machines and Docker containers on the same PC.
It may be that your CPU does not support virtualization or some other software is preventing its use. If you have an Intel Processor Intel's VTx support page is an excellent resource to determine if your CPU permits virtualization and/or if some other software is preventing its use:
In summary:
Virtualization Checked in Intel Utility + Virtualization Enabled in TaskManager -> enabled, usable
Virtualization Checked in Utility + Virtualization Disabled in TaskManager -> disabled in BIOS.
Virtualization Checked in Utility + Virtualization Enabled in TaskManager -> enabled but used by other software
Virtualization Checked in Utility + Virtualization Disabled in TaskManager -> Virtualization not supported .