我最近升级到最新的 android studio,虽然我已经很长时间没有使用它了。我的代码构建并成功同步,但每次我在模拟器中尝试应用程序时都会收到以下错误。请注意,我在基于 AMD 的系统上使用 Window 10
Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration
我已经安装并启用了“英特尔 HAXM”。我浏览了一些类似的问题,但没有一个提供解决方案。
请不要这个问题与您的问题Emulator: ERROR: x86 emulation current requires hardware加速不同:
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] 删除。
我来说两句