微软最近宣布支持在Hyper-V上运行Android模拟器。(https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/)
我试图使用以下命令在我的Windows 10(April 2018 Update)Hyper V启用的计算机上启动Android模拟器27.2.9.0:
> cd C:\Users\<username>\AppData\Local\Android\sdk\emulator
> emulator -avd <avd name> -feature WindowsHypervisorPlatform
我遇到了以下错误信息:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Windows Hypervisor Platform (WHPX) is properly installed and usable.
CPU acceleration status: Please disable Hyper-V before using the Android Emulator.
Start a command prompt as Administrator,
run 'bcdedit /set hypervisorlaunchtype off', reboot.
我已经在C:\Users\.android\advancedFeatures.ini文件中添加了"WindowsHypervisorPlatform = on"这一行,但并没有帮助。
我错过了什么?