Generally, the Android emulator for Windows ran on Intel’s HAXM hypervisor. Unfortunately HAXM runs in the same way as Microsofts Hyper-V, and both cannot be enabled at once. While some users get away without using Virtual Machines (I’m one), many prefer the separation VM’s afford, and there’s no way they’ll ditch Hyper-V capabilities (if that’s the hypervisor they’re using…). The hardest hit would have to be the Docker users though, as Docker runs it’s VM’s on Hyper-V (Mine is at least).
Android
recently updated their Android Emulator to support Hyper-V AND HAXM, which is great for us! It should be noted that they still tout HAXM as the preferred method, as it’s “more performant”.
The Visual Studio Blog indicates a preview version of Xamarin and Visual Studio is required, but I got on fine with my standard 15.7.4 install.
Debugging looks to work fine using this method as well, but the best part is just being able to run the app without weird emulation issues or disabling Hyper-V!
EDIT: Something else that came up was that some of the build configurations failed to deploy because INSTALL_FAILED_NO_MATCHING_ABIS
.
Turns out this was due to a missing checkbox that seems to be enabled for debug
but not for most of the other default configs.
Unwrapping the link, the fix is:
Another thing I noticed was that sometimes deploying to this emulator (in the setup described here) could take on the order of minutes to get running.