简体   繁体   English

安装android sdk入门包时出错

[英]error in installing android sdk starter package

I have downloaded eclipse, the android SDK starter package, and installed the "Developer Tools." 我已经下载了eclipse(Android SDK入门包),并安装了“开发者工具”。 Following the guide on developer.android.com exactly. 完全遵循developer.android.com上的指南。 After the developer tools have installed, and eclipse restarts I get two error messages: 安装开发人员工具并重新启动eclipse之后,我收到两条错误消息:

1: "SDK Platform Tools component is missing! Please use the SDK Manager to install it." 1:“ SDK平台工具组件丢失!请使用SDK Manager进行安装。”

So, I go in eclipse under Windows > Android SDK Manager and while trying to fetch the files it brings up the sdk manager log with the following: 因此,我在Windows> Android SDK Manager下进入eclipse,并尝试获取文件时使用以下命令显示sdk管理器日志:

Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml

Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Invalid argument: connect

Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: Invalid argument: connect

Done loading packages. 完成装载包。 Can anyone help me in resolving this problem? 谁能帮助我解决这个问题? Thanking you 感谢您

  • Goto Android SDK Manager c://android-sdk-windows/ open SDK-Manager 转到Android SDK Manager c:// android-sdk-windows /打开SDK-Manager
  • Click Settings - Will be asked for a proxy. 单击设置-将要求提供代理。
  • If have one enter the IP address and the port number. 如果有,请输入IP地址和端口号。 If not turn off your firewall. 如果没有关闭防火墙。
  • Check "Force https://... " 选中“强制https:// ...”

Source Android SDK Manager gives "Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml" error when selecting repository 选择存储库时,Android SDK Manager出现“无法获取URL https://dl-ssl.google.com/android/repository/repository.xml”错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM