zoukankan      html  css  js  c++  java
  • 解决Android Studio Fetching Android SDK component information失败问题【转】

    本文转载自:http://blog.csdn.net/isesar/article/details/41908089

    Android Studio 安装完成后,如果直接启动,Android Studio会去获取 android SDK组件信息,这个过程相当慢,还经常加载失败,导致Android Studio启动不起开。错误信息:

    Android SDK was installed to E:developmentandroidsdks
    Refresh Sources:
      Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection timed out: connect
      Fetched Add-ons List successfully
      Refresh Sources
    Ignoring unknown package filter 'sys-img-x86-addon-google_apis-google-21'
    Installing Archives:
      Preparing to install archives
      Installing Android SDK Platform-tools, revision 21
      Stopping ADB server failed (code -1).
        Installed Android SDK Platform-tools, revision 21
      Download interrupted: Read timed out
      Download interrupted: Connection timed out: connect
      Download interrupted: Read timed out

    解决办法就是不去获取androidSDK组件信息。方法如下:

    1)进入刚安装的Android Studio目录下的bin目录。找到idea.properties文件,用文本编辑器打开。

    2)在idea.properties文件末尾添加一行: disable.android.first.run=true ,然后保存文件。

    3)关闭Android Studio后重新启动,便可进入界面。

  • 相关阅读:
    printf和sprintf
    操作数、运算符、表达式
    全自动加法机
    Ascll、GB2312、Ansi
    数组
    循环
    编程命名规范
    浮点数及缺陷
    Android编码规范
    RGB着色对照表
  • 原文地址:https://www.cnblogs.com/zzb-Dream-90Time/p/6835992.html
Copyright © 2011-2022 走看看