我刚刚将 Visual Studio 2017 更新到版本 15.8.0,我已经等待了一段时间,因为它支持使用 Windows Hypervisor 平台 (WHPX) 的 Hyper-V 加速 Android 模拟器。
自 5 月以来,我一直在运行 Windows 10 版本 1803,并且我已通过“打开或关闭 Windows 功能”安装/启用了 Windows Hypervisor 平台。此外,我更新了 Android SDK 和工具,如 https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration 中所述。 .
但是,当我运行任何加速模拟器时,我会收到错误消息:
We've encountered an error with your Windows Hypervisor Platform (WHPX) configuration that is preventing us from running your emulator accelerated.
Please ensure WHPX is properly installed, then perform a factory reset on the emulator and try again.
没有日志,没有别的。因此,我有点迷茫,不知道下一步该怎么做。
感谢任何帮助。
附:几个澄清:
- 我都尝试了,重置现有模拟器和创建新模拟器。
- 我在同一台 PC 上运行 Hyper-V 虚拟机和 Docker 容器。
最佳答案
关于android - Visual Studio 2017 Android 设备管理器认为 WHPX 未正确安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51863722/