在最新的 Android Studio 中启动 AVD 时出错

阿德古克·洛格城

我最近升级到最新的 android studio,虽然我已经很长时间没有使用它了。我的代码构建并成功同步,但每次我在模拟器中尝试应用程序时都会收到以下错误。请注意,我在基于 AMD 的系统上使用 Window 10

Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration

我已经安装并启用了“英特尔 HAXM”。我浏览了一些类似的问题,但没有一个提供解决方案。

在此处输入图片说明

请不要这个问题与您的问题Emulator: ERROR: x86 emulation current requires hardware加速不同

  • 没有关于 Intel HAXM 状态或 CPU 加速状态的信息
  • Android Studio 的版本有很大的不同
  • possible difference in the way SDK Manager was back in 2015 and now
Mike N.

The answer you posted is just a workaround.

As a i solution (i have the same AMD platform - 2700X my cpu), you need to enable from BIOS - your virtualisation technology (i have a Aorus motherboard and its called SMT), and then from the OS - Turn Windows Features ON or OFF - install 管理程序平台

After this option is installed, you should be able to run the AVD with proper emulation. I already uninstalled HAXM and had no issues without it.

Also, i did not install any Hyper-V

超视频显示

PS: As of 26 Oct 2019, Google added support for AMD CPU as per their blog: https://androidstudio.googleblog.com/2019/10/android-emulator-hypervisor-driver-for.html You need to make sure you disable the previous settings provided by me up above, and follow their guide.

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章