

In case you are not familiar with the Windows Hypervisor Platform, it is a component that allows third-party virtualization stacks and applications to be used. To run the Android emulator, you will need to install both Hyper-V and the Windows Hypervisor Platform. Windows Server is not yet supported, although it seems likely that we will see Windows Server support for the emulator in the near future. Before I beginīefore I get started, I need to point out that the Android emulator currently only works on the Windows 10 version of Hyper-V. As such, I thought that it might be fun to work through the setup. \emulator.exe -avd Pixel_4a_API_30 -accel off with your AVD device name.One of the announcements that caught my attention at this year’s Microsoft Build conference was that it there is now an Android emulator that has been specifically designed to work with Hyper-V.

Uncheck Hyper-V and Windows Hypervisor platform (it may be required to uncheck Windows Sandbox).To disable Hyper-V you must follow these steps: There are two possible workarounds: Disable Hyper-V (Keep in mind WSL2 or any VM won't work without this) WHPX as of now is not working with Windows 11, I will update this answer when it gets fixed. Īs stated in Mark Wood-Patrick answer, the emulator hasn't been updated yet but you can download the new emulator binaries with the fix! From The latest version of Android Emulator - 31.1.2 is fixing the issue. HandleCpuAcceleration: feature check for hvfĬ:\Users.\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005Ĭ:\Users.\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argumentĪnyone got suggestions, how to resolve this issue. So in my optional feature, these two features are enabledīut while running the emulator I'm getting this error: ❯. Now I want to run the emulator without Intel HAXM as I want to run it alongside wsl2. Experience: Windows Feature Experience Pack 421.17400.45.3.Edition: Windows 11 Home Single Language.
