6

我已经安装了 Android Studio 3.3.1,一切都运行良好,直到我关闭它。当我尝试再次运行我的项目时,它说:

运行此 AVD 需要 Intel HAXM

未知错误,我该怎么办?

4

3 回答 3

3

就我而言,我安装了启用 Hyper-V 所需的软件。如果你也面对它,请检查它。
在 Window 上(我的意思是我在 Window 上配置,而不是 Ubuntu 或 MacOsX),它位于"Turn Windows feature on or off". 取消选中 Hyper-V 并重新启动计算机。

于 2019-07-24T03:20:09.377 回答
2

打开 Android Studio 后,点击右下角的配置,然后从列表中选择SDK Manager 。前往SDK 工具

Android Studio 上的配置按钮

寻找英特尔 HAXM 并确保它已被选中。如果没有,请选中该框并单击应用。
你很高兴。

SDK 工具中的英特尔 HAXM

确保它与 Android 模拟器一起安装。然后它应该工作。

于 2019-03-02T05:17:56.847 回答
0

我用 android studio 试过很多次,但效果很好

This didn't work for me. Even after installing with this step, Android Studio kept telling me HAXM wasn't installed. After doing this step though, I was able to find "haxm-7.6.5-setup.exe" in "~\AppData\Local\Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager" and running that setup file fixed the issue. 
于 2021-07-14T18:33:56.763 回答