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 模拟器就可以了。问题已解决!
来源:oschina
链接:https://my.oschina.net/u/4313437/blog/4743368