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

更新日期: 2019-12-13 阅读次数: 17787 字数: 261 分类: Android

在我的新笔记本联想小新 Pro 13 上启动 Android Studio 模拟器报错:

Failed to install Intel HAXM. For details, please check the installation log: "C:\Users\zhong\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\zhong\AppData\Local\Temp\haxm_log8.txt
Installer log contents:
=== Logging started: 2019-12-13  20:20:32 ===
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.

突然想起来这个笔记本的 CPU 是 AMD 锐龙的 CPU。我开始有点慌,因为买联想小新主要就是看重了 16G 的内存,好方便跑 Android 模拟器,要是真不支持,那就这是欲哭无泪啊。

好在发现 Google 官方是支持 AMD CPU 的,参考

https://android-developers.googleblog.com/2018/07/android-emulator-amd-processor-hyper-v.html

设置很简单:

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

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

然后按提示重启电脑就行了。

重启系统之后,再次运行 Android Studio 模拟器就可以了。

tags: AMD CPU

关于作者 🌱

我是来自山东烟台的一名开发者,有敢兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式

谈笑风生

regbin

可以解决问题

初学者

我是锐龙5 2500U 里面没有这个选项,。。。。

被AS配置环境搞死的男人

超级赞!比很多人写的各种乱七八糟的攻略要简单快捷多了!
找不到虚拟机平台的找找对应的英文:vurtual patform(差不多,我拼着打的)