安装android studio报错,及解决方式

来源:互联网 发布:淘宝马云靠什么赚钱 编辑:程序博客网 时间:2024/05/16 17:03

在Android Studio的使用过程中,发现没有办法创建或运行虚拟机。在此记录一波三折的解决过程。

1.Error: Your CPU does not support required features (VT-x or SVM).

在创建虚拟机时候,出现下图所示。 
图1

查到前辈rznice的博客: 
http://blog.csdn.net/rznice/article/details/40210213 
根据步骤安装 intelhaxm.exe,事出必反必有妖,就知道会再次报错。

2.Error:This computer does not support VT-x.

安装intelhaxm.exe时,出现下图所示。 
图2 
一度怀疑自己没有在BIOS中打开Virtualization Technology,多次确认打开后,重新安装intelhaxm.exe,依旧没有任何用处。 
找到其他人的回答: 
http://stackoverflow.com/questions/16091677/intel-haxm-installation-error-this-computer-does-not-support-intel-virtualizat/18796753 
发现自己的电脑中并没有hyper-V这个东西,特意查看了别人的电脑,有的有,有的没。跑去下载Intel Processor Identification Utility,居然安装失败。
发现一位大神翻遍了微软的官方文档,出个镜: 
http://www.crifan.com/adt_haxm_xd_not_supported_this_computer_does_not_support_intel_execute_disable_bit_xd_or_it_is_disable_in_the_bios/

3.AMD处理器不能安装HAXM。

当我发现这个问题的时候,我开始怀疑无解了,然后开始想其他的办法。下图为我自己的处理器。 
图3 
解决方式:Genymotion+AS插件

3.1安装Genymotion

点击官网:http://www.genymotion.net/. 
Genymotion有免费版和收费版,个人用免费版就够了。 
图4 
点击开始下载,安装过程略。 
开始一直以为自己下载的是V-box,一直在找免费版,也是蠢够了。这个其实都包含了。 
图5 
备注:必须注册后才能下载,请记牢密码,下载安装时需要登录。 
图6

3.2 AS插件

网上教程比较多,就简单写写。 
Android Studio –> File –> setting –> plugins –> Brower –> 输入Genymotion –> Download –> restart AS. 
出现下图最右边的图标则表示安装成功。 
图7 
第一次运行Genymotion需要配置路径,就不赘述了。

附上成功界面。 
图8

阅读全文
0 0