关于android studio 中安装intel haxm问题的解决

关于android studio 安装intel haxm问题的解决

遇到的问题

安装android studio 过程中intel haxm失败,导致后续笔记本运行模拟器过程中漫长等待让我痛不欲生。于是着手解决intel haxm安装失败问题。我的笔记本型号是thinkpad w510,处理器i7 Q720,操作系统windows 7 sp1。

解决问题

1、进入android sdk安装目录Android\Sdk\extras\intel\Hardware_Accelerated_Execution_Manager,执行intelhaxm-android.exe,报错vt-x is not turned on
关于android studio 中安装intel haxm问题的解决
2、进入bios开启intel 虚拟化支持选项,重新安装,继续报错This computer does not support Intel Execute Disable Bit (XD) or it is disable in the BIOS
关于android studio 中安装intel haxm问题的解决
3、网上查贴,没有帮助。登陆联想官网下载bios更新安装:
https://think.lenovo.com.cn/support/driver/newdriversdownlist.aspx?yt=pt&categoryid=9670&CODEName=ThinkPad W510&SearchType=0&wherePage=2&osid=26
4、安装成功

总结

耗费了我两个小时解决该问题,此类问题概括解决步骤如下,希望对小伙伴们有帮助:
1、查cpu硬件是否支持,不支持就不要挣扎了:https://ark.intel.com/content/www/us/en/ark.html#@Processors,较老的cpu访问https://ark.intel.com/content/www/us/en/ark/products/series/79666/legacy-intel-core-processors.html;如我的:关于android studio 中安装intel haxm问题的解决
2、排除操作系统问题。开启主板上虚拟化选项(有的话),登陆系统下载LeoMoonCPUV,看是否启用。如系统问题建议重做系统尝试,用安装版别用ghost。
3、如第二步显示已启用,升级bios吧。