为什么 Visual Studio 2019 在 'Visual Studio Emulator for Android' 中启动后不显示模拟器?

Why doesn't Visual Studio 2019 show the emulator once it is started in 'Visual Studio Emulator for Android'?

我最近在家里的电脑上卸载了 Visual Studio 2017 社区版并安装了 Visual Studio 2019 社区版。

由于此处描述的问题,我从未设法让硬件加速工作:https://superuser.com/questions/1482586/cannot-launch-an-x86-android-emulator-using-hyperv-but-can-with-haxm-why

但是,使用 Visual Studio 2017 我可以在“开始”菜单中使用 'Visual Studio Emulator for Android',如下所示:

我将启动其中一个模拟器,它会出现在 Visual Studio 2017 年进行调试,如下所示:

但是,Visual Studio 2019 在 'Visual Studio Emulator for Android' 中启动后不会在 Visual Studio 中显示模拟器。我需要配置什么才能让它正常工作吗?

我在 Developer Community

中找到了您问题的答案

拜托,看看@Pierce Boggan

的评论

Quote

The Visual Studio Emulator for Android has been deprecated in Visual Studio 2019. More information is available here:

https://docs.microsoft.com/en-us/visualstudio/porting/port-migrate-upgrade-visual-studio-projects-2019?view=vs-2017

For developers who want to develop Android applications, but have a requirement on Hyper-V, we worked with Google to introduce support for Hyper-V acceleration to the official Android emulators. This means you can use Google’s Android emulator side-by-side with other Hyper-V based technologies, including Hyper-V VMs, Docker tooling, the HoloLens emulator, and more. This also means that any Android developer on Windows, who also uses Hyper-V, can use a fast Android emulator that will always support the latest Android APIs, works with Google Play Services out of the box, and works with all features in the Android emulator, including camera, geolocation, and Quick Boot.

More information on configuration is available here:

https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration?pivots=windows#accelerating-with-hyper-v