我试图通过Visual Studio 2019运行Android模拟器来测试我使用Xamarin创建的应用程序。 我按照文档中概述的启用和安装Hyper-V的步骤进行操作:文档
当我尝试启动模拟设备时,会出现以下消息:
Starting emulator pixel_3_pie_9_0_api_28 ...
1>Waiting for runtime checks to complete
Emulator pixel_3_pie_9_0_api_28 cannot be started.
Runtime checks completed
1>Starting deployment to pixel_3_pie_9_0_api_28 ...
1>Starting emulator pixel_3_pie_9_0_api_28 ...
1>Launching the Android Emulator pixel_3_pie_9_0_api_28 on Hyper-V needs the Windows Hypervisor Platform installed and enabled.
1>
1>Please configure it using the Turn Windows features on or off dialog.
1>
Build has been canceled.
我不确定为什么会出现这种情况,因为我已经安装并启用了 Hyper-V。如果有任何想法,请告诉我!
相关图片: Windows 功能 命令提示符