简体   繁体   English

如何在 AMD 处理器计算机上使用 Android Studio 仿真器?

[英]How to use the Android Studio emulator on an AMD processor computer?

My notebook has an AMD Ryzen 5 3500U processor and I'm trying to use the emulator in Android Studio and I can't get it to work properly.我的笔记本装有 AMD Ryzen 5 3500U 处理器,我正在尝试在 Android Studio 中使用模拟器,但无法正常工作。 Most of the time the emulator only works the first time it runs when it is created.大多数情况下,模拟器只在它创建时第一次运行时工作。 Some of the recurring problems is that even when running, it does not appear in the flutter device selection.一些反复出现的问题是,即使在运行时,它也不会出现在 flutter 设备选择中。 After some research I found out that the solution may be to activate two Windows features: virtual machine platform and windows hypervisor platform.经过一番研究,我发现解决方案可能是激活两个 Windows 功能:虚拟机平台和 windows 管理程序平台。 However I am not able to activate because after clicking on the checkbox and giving ok.但是我无法激活,因为单击复选框并给出确定后。 This message returns to me: "an error has occurred. Not all features have been successfully activated".此消息返回给我:“发生错误。并非所有功能都已成功激活”。 Does anyone know how I can resolve to have these features activated?有谁知道我如何解决激活这些功能? 在此处输入图像描述

I am using an AMD PC as well and had the same issue.我也在使用 AMD PC 并且遇到了同样的问题。 There were drivers that had to be configured and didn't work as expected.有一些驱动程序必须配置并且没有按预期工作。 The workaround I did was to use genymotion as an emulator.我所做的解决方法是使用 genymotion 作为模拟器。 The setup didn't require major setting changes.该设置不需要重大设置更改。 Here is the link to it:这是它的链接:

https://www.genymotion.com/ https://www.genymotion.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM