我目前的 Android Studio 有问题,因为我无法使用模拟器运行任何应用程序。 尝试运行应用程序时出现的完整错误是......
Emulator: emulator: ERROR: x86 emulation currently requires hardware acceleration!
Emulator: Process finished with exit code 1
我已经完全安装了 Intel Haxm(当运行 intelhaxm-android.exe 时它只给我删除的选项)并尝试使用 API 27 和 28。
任何帮助将不胜感激:)
最佳答案
我遇到了同样的问题。 执行以下步骤解决了问题。
检查 BIOS 下的虚拟化是否启用。如果没有,请这样做。它通常在 CPU 设置下。
在 Android studio 中,检查 SDK_Manager>Android_SDK>SDK Tools> Intel x86 Emulator Accelerator (HAXM installer) 是否已选中。如果没有,检查它并按 OK。它将安装 HAXM。
如果问题仍然存在(这是最新 Windows 10 更新的常见情况),请在 Windows 控制面板上搜索打开或关闭 Windows 功能。在 Window HyperVisor Platform 中放置检查,如下所示。
现在,运行 AVD,它应该可以工作了。
关于android - 错误 : x86 emulation currently requires hardware acceleration!(安卓工作室),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51489362/