gpt4 book ai didi

android-emulator - Hyper V 错误上的 Android 模拟器

转载 作者:行者123 更新时间:2023-12-03 07:55:41 25 4
gpt4 key购买 nike

Microsoft 最近宣布支持在 hyper V 上运行 android 模拟器 (https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/)

我正在尝试使用以下命令行在我的 Windows 10(2018 年 4 月更新)启用 Hyper V 的机器上启动 Android 模拟器 27.2.9.0:

> cd C:\Users\<username>\AppData\Local\Android\sdk\emulator\lib\qt\lib
> ..\..\..\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.

我已将“WindowsHypervisorPlatform = on”行添加到 C:\Users\.android\advancedFeatures.ini,但这没有帮助。

我错过了什么?

最佳答案

好吧,原来我启用了“Hyper-V”,但是 “Windows 管理程序平台 ”未启用。 (谁知道这是两种不同的东西!)。一旦启用,模拟器就开始工作。

enter image description here

关于android-emulator - Hyper V 错误上的 Android 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50890535/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com