本文主要是介绍解决Android Studio Fetching Android SDK component information失败问题,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
原址:点击打开链接
解决Android Studio Fetching Android SDK component information失败问题
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后重新启动,便可进入界面。
这篇关于解决Android Studio Fetching Android SDK component information失败问题的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!