android - 运行 Android Studio IDE 时出错

标签 android android-studio ide

当我启动 Android Studio 时,我遇到了这个错误:

enter image description here

    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

当我点击重试时,它给了我同样的错误:

enter image description here

最佳答案

通过修改 other.xml 文件为 Android Studio 配置代理:

C:\Users\"Your account"\.AndroidStudio\config\options\other.xml

然后更改代理配置如下:

<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 - 运行 Android Studio IDE 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27602279/

相关文章:

android - 从 Android 1.6 到 Android 2.2 的升级和应用程序不起作用

android - 在 Android java 中,如何长按蓝牙设备调用按钮?

java - 在Android Studio上使用TestNG运行演示程序

ide - 如何在 Visual Studio 2017 for Mac 社区版中调整列标尺?

visual-studio-2008 - vs2008的线程窗口在哪里

grails - ils。 STS。语法突出显示问题?

java - 在抽屉导航项目单击上切换 fragment

android - 如何在 Android 中集成 SIP/Voip 以进行内部(即分机)调用

java - 如何在抽屉导航中的菜单项之间画一条线

java - 为什么单击微调器时调试报告会记录 "Attempted to finish an input event but the input event receiver has already been disposed"?