【发布时间】:2019-01-24 18:33:05
【问题描述】:
我在使用 android studio avd manager 运行任何模拟器时遇到错误:
...AppData\Local\Android\Sdk\emulator/emulator-x86.exe: invalid option -- '-enable-whpx'
- android studio 版本为 3.1.3
- android模拟器版本为27.3.9
- Hyper-V 和 Windows Hypervisor Platform 在我的 Windows 10 上处于活动状态
- 并且
WindowsHypervisorPlatform = on标志设置为...sdk\emulator\lib/advancedFeatures.ini
这是详细模式的一部分:
emulator: Checking whether Windows Hypervisor Platform (WHPX) is available.
emulator: Could not load library WinHvPlatform.dll
emulator: WHPX is either not available or not installed.
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: HAXM version 7.2.0 (4) is installed and usable.
在 windows 功能中检查了 Windows Hypervisor Platform,WinHvPlatform.dll 出现在 C:\Windows\System32 中
如何启用或安装 WHPX?
【问题讨论】:
-
您找到解决此问题的方法了吗?如果是这样,请发布答案。谢谢。
-
@Maarten 查看我的答案
标签: android android-studio android-emulator android-sdk-tools avd-manager