Eclipse 连接到存储库并在 Windows 8 上安装 ADT 插件时出错
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13317325/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Error in Eclipse connecting to respository and installing ADT Plugin on Windows 8
提问by user1813596
I have recently updated to Windows 8 (don't ask why as it has become more hassle than it is worth!)
我最近更新到了 Windows 8(不要问为什么,因为它变得比它的价值更麻烦!)
Since doing so, my Eclipse and ADT Plugin stopped working. So I downloaded a Eclipse Classic again and tried to download the ADT Plugin with no luck. (note: none of the downloads from Eclipse drop down menu are possible when selected)
这样做后,我的 Eclipse 和 ADT 插件停止工作。所以我再次下载了 Eclipse Classic 并尝试下载 ADT 插件,但没有成功。(注意:选择后无法从 Eclipse 下拉菜单中下载任何内容)
I keep getting the following error message when trying to connect to the online repository: Unable to read repository at https://dl-ssl.google.com/android/eclipse/site.xml/content.xml. Unable to read repository at https://dl-ssl.google.com/android/eclipse/site.xml/content.xml. Cannot assign requested address: connect
尝试连接到在线存储库时,我不断收到以下错误消息:无法在https://dl-ssl.google.com/android/eclipse/site.xml/content.xml读取存储库。无法在https://dl-ssl.google.com/android/eclipse/site.xml/content.xml读取存储库。无法分配请求的地址:连接
When trying to add the plugin through ZIP file, I get through and get stuck with the following error: Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 20.0.3.v201208082019-427395 (com.android.ide.eclipse.adt.feature.group 20.0.3.v201208082019-427395)
尝试通过 ZIP 文件添加插件时,我通过并遇到以下错误:无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:Android开发工具20.0.3.v201208082019-427395(com.android.ide.eclipse.adt.feature.group 20.0.3.v201208082019-427395)
Stuck and need some advice! I have the latest version of the Android SDK and have updated to the latest version of Java Run-time & JDK
卡住了,需要一些建议!我有最新版本的 Android SDK 并且已经更新到最新版本的 Java Run-time & JDK
回答by Jason
Having the exactly same problem like yours. Managed to fix it by changing https to http
有和你一样的问题。设法通过将 https 更改为 http 来修复它
回答by Sebastian
Alternatively ADT plugin can be installed from archive. Please see "Troubleshooting ADT Installation" part from below link for more details.
或者,可以从存档安装 ADT 插件。有关更多详细信息,请参阅下面链接中的“对 ADT 安装进行故障排除”部分。
http://developer.android.com/sdk/installing/installing-adt.html
http://developer.android.com/sdk/installing/installing-adt.html
回答by dylan-myers
From the official documentation:
来自官方文档:
If Eclipse can not find the remote update site containing the ADT plugin, try changing the remote site URL to use http, rather than https. That is, set the Location for the remote site to
如果 Eclipse 找不到包含 ADT 插件的远程更新站点,请尝试将远程站点 URL 更改为使用 http,而不是 https。也就是说,将远程站点的位置设置为
http://dl-ssl.google.com/android/eclipse/
HTTP://dl-ssl.google.com/android/eclipse/
This solved it for me.
这为我解决了。
回答by Fever
I have had the same problem. I run Eclipse with XP SP3 compability and installed ADT from an archive.
我曾经也有过一样的问题。我运行具有 XP SP3 兼容性的 Eclipse 并从存档中安装了 ADT。
回答by Jasjeev
You can directly download the package from http://dl.google.com/android/ADT-XX.X.X.zip(Replace X with the revision number). Install it and go from there.
您可以直接从http://dl.google.com/android/ADT-XX.XXzip下载软件包 (用修订号替换 X)。安装它并从那里开始。
回答by Bananeweizen
You have used the wrong URL for the update site. It is only https://dl-ssl.google.com/android/eclipse/, while you probably appended "site.xml" in the dialog, judging by your error message.
您为更新站点使用了错误的 URL。它只是https://dl-ssl.google.com/android/eclipse/,而您可能在对话框中附加了“site.xml”,根据您的错误消息判断。
回答by Daniel Raja Singh
1.download latest version of ADT, current ADT-23.0.2.zip (*) 2.At Eclipse > Help > Install new software... > Uncheck Contact all update sites during install to find required software (bottom, last preference) in order to avoid any unwanted delays during install. 3.Same screen (top) Click Add > Archive > select downloaded ADT-X.X.X.zip > follow on screen installation steps.
1.下载最新版本的 ADT,当前 ADT-23.0.2.zip (*) 2.在 Eclipse > 帮助 > 安装新软件... > 取消选中在安装过程中联系所有更新站点以查找所需软件(底部,最后一个偏好)以避免在安装过程中出现任何不必要的延迟。3.同屏(顶部)点击添加>存档>选择下载的ADT-XXXzip>按照屏幕安装步骤进行。
(*) Previous versions:
(*) 之前的版本:
ADT-23.0.0.zip
ADT-23.0.0.zip
ADT-22.6.0.zip | ADT-22.6.1.zip | ADT-22.6.2.zip | ADT-22.6.3.zip
ADT-22.6.0.zip | ADT-22.6.1.zip | ADT-22.6.2.zip | ADT-22.6.3.zip
ADT-22.3.0.zip
ADT-22.3.0.zip
ADT-22.2.1.zip
ADT-22.2.1.zip
ADT-22.0.0.zip | ADT-22.0.1.zip | ADT-22.0.5.zip
ADT-22.0.0.zip | ADT-22.0.1.zip | ADT-22.0.5.zip
ADT-21.1.0.zip
ADT-21.1.0.zip