小编Meh*_*hdi的帖子

android studio avd manager无效选项 - '-enable-whpx'

我在使用android studio avd manager运行任何模拟器时遇到错误:

...AppData\Local\Android\Sdk\emulator/emulator-x86.exe: invalid option -- '-enable-whpx' 
Run Code Online (Sandbox Code Playgroud)
  • android studio版本是3.1.3
  • android模拟器版本是27.3.9
  • Hyper-V和Windows Hypervisor平台在我的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.
Run Code Online (Sandbox Code Playgroud)

Windows Hypervisor平台在Windows功能中进行检查,并且WinHvPlatform.dll显示在Windows功能中C:\Windows\System32

我该如何启用或安装WHPX?

android android-emulator android-sdk-tools android-studio avd-manager

5
推荐指数
1
解决办法
3138
查看次数