
Once you get it to load, you can move it to other monitors by following the answer here: Here it is running Android Studio, VirtualBox, Debian WSL-2, and Docker all at once. You must have the Android Emulator running on your MAIN monitorĪfter I did this, it works every time. However, when I installed Debian (which uses WSL 2) now all of a sudden I can't get the emulator to run.Įdit: I just figured this out. Installed Android Studio, works fine and runs. So, if I want to dev my api on WSL2 and run my app on an android emulator, I can't? Now, if I deactivate Hyper-V entirely (in the windows features screen and through bcdedit /set hypervisorlaunchtype off) the emulator does launch perfectly, but of course WSL2 won't work now.

Then I'm trying to use Android Studio's emulator and it just hangs, never launching the emulator. WSL2 is working perfectly when I'm having Hyper-V activated. \emulator.exe -avd Pixel_4a_API_30 -accel off with your AVD device name.

Emulator: Android emulator version 30.7.5.0 (build_id 7491168) (CL:N/A) handleCpuAcceleration: feature check for hvf added library vulkan-1.dllĬ:\Users\Zeswen\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005Ĭ:\Users\Zeswen\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argument
