运行 Android Studio IDE 时出错 [英] Error when run Android studio IDE
本文介绍了运行 Android Studio IDE 时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我启动 Android Studio 时遇到此错误:
When I launch Android studio I encounter this Error:
The following SDK components were not installed: build-tools-21.1.1, source-21, sys-img-x86-addon-google_apis-google-21,
extra-android-m2repository, android-21, extra-google-m2repository, addon-google_apis-google-21, tools, platform-tools
当我点击重试时,它给了我同样的错误:
And when I click retry, it gives me the same error:
推荐答案
通过修改 other.xml 文件为 Android studio 配置代理:
Configure a proxy for Android studio by modifying other.xml file at:
C:\Users\"你的账户"\.AndroidStudio\config\options\other.xml
C:\Users\"Your account"\.AndroidStudio\config\options\other.xml
然后更改代理配置如下:
Then change the proxy configurations as follows:
<option name="USE_HTTP_PROXY" value="true" />
<option name="USE_PROXY_PAC" value="false" />
<option name="PROXY_HOST" value="your_proxy_server" />
<option name="PROXY_PORT" value="your_proxy_port" />
这篇关于运行 Android Studio IDE 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文