Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 Android Device Manager thinks WHPX is not properly installed

Tags:

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://docs.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.
like image 844
TheBlueSky Avatar asked Aug 15 '18 17:08

TheBlueSky


People also ask

How do I enable Android emulator in Visual Studio?

Just open up the Visual Studio Emulator for Android entry in your Start Menu, hit play, and the emulator is ready to debug from any IDE. Download the standalone emulator today!

Why is my emulator not working Android studio?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. 3) Restart Android Studio and then try to start the AVD again.

Do I need Hyper V for HAXM?

Save this question. Show activity on this post. Windows phone emulator requires Hyper-V to run, but Android emulator in turn requires Intel Hardware Acceleration Manager (HAXM), which is intolerant to Hyper-V.


1 Answers

Maybe the Virtualisation is not enabled for your CPU from the BIOS menu. Boot to your BIOS and Enable Virtualisation. Also, install or reinstall these features on windows. enter image description here

like image 151
Kayvan Karim Avatar answered Dec 21 '22 21:12

Kayvan Karim