AMD CPU 的电脑运行 Android Studio 模拟器时报错 Failed to install Intel HAXM

半世苍凉 提交于 2020-11-25 11:54:10

AMD CPU 的电脑运行 Android Studio 模拟器时报错 Failed to install Intel HAXM

最近新买了华硕天玄,但是在上面启动 Android Studio 模拟器报错:

Failed to install Intel HAXM. For details, please check the installation log: "C:\Users\BrilliantZC\AppData\Local\Temp\haxm_log8.txt"
HAXM installation failed. To install HAXM follow the instructions found at: https://software.intel.com/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
Installer log is located at C:\Users\BrilliantZC\AppData\Local\Temp\haxm_log8.txt
Installer log contents:
=== Logging started: 2020-11-22  21:20:12 ===
This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed. 
Please ensure Hyper-V is disabled in Windows Features, or refer to the Intel HAXM documentation for more information.

就很纳闷,之前老电脑完全可以的,上网百度看到说不支持ADM的CPU,当时就感觉离谱,继续百度发现 Google 官方是支持 AMD的CPU 的,陆陆续续尝试了网上很多方法,发现一种可行的。
只需要简单设置一下就可以:

  • 按 Win 键搜索 hyper,打开“启用或关闭 Windows 功能”
  • 找到“虚拟机平台”,并勾选

在这里插入图片描述
然后按提示重启电脑,重启系统之后,再次运行 Android Studio 模拟器就可以了。问题已解决!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!