本文转载自:http://blog.csdn.net/isesar/article/details/41908089
Android Studio 安装完成后,如果直接启动,Android Studio会去获取 android SDK组件信息,这个过程相当慢,还经常加载失败,导致Android Studio启动不起开。错误信息:
Android SDK was installed to E:\development\androidsdks
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后重新启动,便可进入界面。