解决win10运行Android AVD遇到Canot lunch AVD in emulator问题

来源:互联网 发布:软件组件 编辑:程序博客网 时间:2024/05/17 06:48

最近在学习Android studio。遇到一个模拟器的问题整了很久才好。记录如下:

辛辛苦苦敲了代码准备运行到模拟器上,结果看到下面错误:

Canot lunch AVD in emulater

Output:

emulator:ERROR:X86 emulation currently requires hardware acceleration!

Please ensure Intel HAXM is properly installed and usable.


这是啥错误?(一脸懵逼状.....)

一步一步解决:

需要安装intelhaxm-android.exe在android-sdk-windows\extras\intel\Hardware_Accelerated_Execution_Manager找到安装文件安装


结果安装不上....

后来查看需要cpu支持intel的虚拟加速。需要在BIOS --》Security-->Virtualization里的Intel (R) Virtualization Technology打成Enabled



打开后安装HAXM还是安装不上.。百度了好久发现是Windows的Hyper-v搞得鬼。在程序--》启用或关闭windows功能里找到Hyper-v去掉打钩。电脑重启



然后重新运行intelhaxm-android.exe 顺利安装。



再次运行Android studio,avd顺利启动!


0 0
原创粉丝点击