我有一个 AMD Ryzen CPU 和 Android 模拟器不工作 [英] I have got an AMD Ryzen CPU and Android emulator doesn't work
问题描述
我有一个 AMD Ryzen CPU,但 Android 模拟器无法运行.不启动模拟器是因为CPU不支持x86模拟器
I have got an AMD Ryzen CPU and Android emulator doesn't work. It doesn't start the emulator becouse the CPU doesn't support the x86 emulator
推荐答案
更新 - 我之前的回答不再正确.Google 在其最新的测试版中添加了 AMD 和 Hyper-V 支持.感谢 ReverseCold 让我知道.请参阅他在下面的回答.
Update - My previous answer is no longer true. Google has added AMD and Hyper-V support into their latest beta. Thanks to ReverseCold for letting me know. Please see his answer below.
更新 2 - 我今天必须设置它.为了节省一些谷歌搜索,这里是启用 Hyper-V 的 powershell 命令.从 微软文档
Update 2 - I had to set this up today. To save some googling, here is the powershell command to enable Hyper-V. Pulled from Microsoft's Docs
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
确保以管理员身份运行 powershell.
Make sure to run powershell as an administrator.
Update 3 - 结果表明 Windows Hypervisor Platform 和 Hyper-V 之间存在差异.您需要启用第一个才能使 Android 仿真正常工作.只需单击开始并键入打开或关闭 Windows 功能,直到您看到同名的控制面板选项.然后从点击后弹出的菜单中启用该功能.
Update 3 - Turns out there's a difference between Windows Hypervisor Platform and Hyper-V. You'll need to enable the first one for Android emulation to work. Just click start and type Turn Windows features on or off until you see the control panel option of the same name. Then enable the feature from the menu that pops up after clicking that.
根据这个答案,适用于Android的AMD虚拟化仅在 Linux 上受支持.如果 Ryzen 变得非常受欢迎,也许他们会为 Windows 编写一个,但我不会屏住呼吸.
According to This answer, AMD virtualization for Android is only supported on Linux. If Ryzen becomes hugely popular, maybe they'll write one for Windows, but I won't be holding my breath.
这篇关于我有一个 AMD Ryzen CPU 和 Android 模拟器不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!