android studio setup

1. error: Failed to install Intel HAXM

http://zzq635.blog.163.com/blog/static/195264486201522451040894/

 

问题描述
安装 android-studio-bundle-135.1740770-windows.exe时弹出如下信息
[Android Studio]Failed to install Intel HAXM 问题解决 - zzq635 - 未名
 
安装环境
[Android Studio]Failed to install Intel HAXM 问题解决 - zzq635 - 未名
分析问题
1. 错误日志haxm_silent_run.log内容如下:

=== Logging started: 2015/3/24  14:44:43 ===

This computer meets the requirements for HAXM, but Intel Virtualization Technology (VT-x) is not turned on. HAXM cannot be installed until VT-x is enabled.

Please refer to the Intel HAXM documentation for more information.

=== Logging stopped: 2015/3/24  14:45:01 ===

2. Virtualization Technology(VT-x)问题

   参考stackoverflow文章  

   需要使用 Intel Processor Identification Utility 来确定Intel CPU是否支持Virtualization Technology
3. 使用Intel Processor Identification Utility 查看是否支持 Virtualization Technology

    我下载的英文版的,安装之后启动

    该应用在“CPU Technologies”页签下看到我主机CPU是支持 Virtualization Technology的
[Android Studio]Failed to install Intel HAXM 问题解决 - zzq635 - 未名
 
 4. 启动 Virtualization Technology
    重启电脑,按住F12键进入BIOS
    我机器的BIOS是 Lenovo ,进入Advanced->CPU Setup选项
    [Android Studio]Failed to install Intel HAXM 问题解决 - zzq635 - 未名
    可以看到我的我的CPU Virtualization Technology默认是不开启的
    [Android Studio]Failed to install Intel HAXM 问题解决 - zzq635 - 未名
    使用“+”键启动该选项
    [Android Studio]Failed to install Intel HAXM 问题解决 - zzq635 - 未名

5. 重新安装Android Studio不在报Failed to install Intel HAXM ,问题解决。

 

2. error:

Failed to fetch URL http://dl-ssl.google.com/glass/gdk/addon.xml

 

Android SDK was installed to d:\Android\sdk
Refresh Sources:
  Fetched Add-ons List successfully
  Refresh Sources
  Failed to fetch URL http://dl-ssl.google.com/glass/gdk/addon.xml, reason: Connect Connection timed out: connect
Refresh Sources:
  Failed to fetch URL http://dl-ssl.google.com/glass/gdk/addon.xml, reason: Connect Connection timed out: connect


Installing Archives:
  Preparing to install archives
  Installing Android SDK Tools, revision 24.3.1
    Installed Android SDK Tools, revision 24.3.1
  Installing Android SDK Build-tools, revision 23 rc2
    Installed Android SDK Build-tools, revision 23 rc2
  Installing SDK Platform Android M Preview, revision 1

 

posted @ 2015-06-10 23:46  alxe_yu  阅读(628)  评论(0)    收藏  举报