If you need the Emulator, you only need to turn off Hypervisor + Restart. Windows Hypervisor Platform is installed.Windows Subsystem for Linux is installed.I found and tested in shorter toggle mechanism. Thankful for any help, and please tell me if I need to add more information I've also tried using the Android Emulator Hypervisor Driver for AMD processors, which is giving me the exact same result. But according to the above link it should be possible to run the emulator at the same time as Hyper-V using WHPX. I think the problem has to do with Hyper-V running which WSL2 is using if I'm not misstaken. I've followed the official instructions on this page (Following the AMD with Hyper-V option WHPX). That however doesn't fix the two later errors with WHPX. The "Failed to open /nf" is possible to solve by creating that file manually, as explained by this answer. When trying to start it from Android Studio it never launches, when trying to run it from the Windows Command Line I get the above error. ![]() Using WSL2 at the same time as the android emulator was working before on an Intel i7 4770k processor, but stopped working after a processor upgrade to a AMD Ryzen 5900x and fresh install of Windows 11.įor clarification: I'm not trying to run the emulator from WSL2, I'm trying to run it from Android Studio. HandleCpuAcceleration: feature check for hvfĬ:\Users\gusta\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005Ĭ:\Users\gusta\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argument It's giving the following error message: C:\Users\gusta\AppData\Local\Android\Sdk\emulator>emulator.exe -avd Android_TV_1080p_API_300Įmulator: Android emulator version 30.8.4.0 (build_id 7600983) (CL:N/A) Android studio lastest build (also tried with latest beta)Īs soon as I install WSL2, the emulator stops working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |