google / android-emulator-hypervisor-driver

Other
778 stars 252 forks source link

Will there be an option to get this working with Hyper-v enabled? #62

Closed cesarvarela closed 2 years ago

cesarvarela commented 3 years ago

Disabling means no WSL, less security, etc., not really a solution in the long term.

davidgiga1993 commented 3 years ago

I fully agree with this! Hyper-V is here to stay and I can only imagine it will be integrated more and more into future windows features. Also not being able to use WSL is a no-go for me. But in case you didn't know: You can still use the WHPX hypervisor as an alternative, see https://developer.android.com/studio/run/emulator-acceleration#vm-windows for details

grad1e commented 3 years ago

When using WHPX, the UI animations inside the emulator is choppy

H4M5TER commented 3 years ago

According to here, you're already using WHPX with Hyper-V enabled. (and correct Android SDK & Android Emulator version)

uselessscat commented 3 years ago

Maybe this helps https://stackoverflow.com/a/68286248/6658955

grad1e commented 3 years ago

Maybe this helps https://stackoverflow.com/a/68286248/6658955

Came across that, but the issues which the user has described are needed all the time while I develop.

Taogle2018 commented 2 years ago

No. This driver cannot co-exist with Hyper-V. Hyper-V is designed in a way no other hypervisor could work side by side. Either use this driver with WSL v1 or use WHPX (which is another hyper-V wrapper) and WSL v2.