简体   繁体   English

无法下载Eclipse Indigo 3.7.2的ADT插件

[英]Unable to download ADT Plugin for Eclipse Indigo 3.7.2

I'm using Eclipse Indigo (ver 3.7) on Win 7 (64 bit). 我在Win 7(64位)上使用Eclipse Indigo(3.7版)。 I have been trying to download ADT plugin for the past 2 days but unable to do so. 在过去2天里,我一直在尝试下载ADT插件,但无法下载。 I've tried both Https and Http versions of https://dl-ssl.google.com/android/eclipse/ but to no avail. 我已经尝试了https://dl-ssl.google.com/android/eclipse/的 Https和Http版本,但是都没有用。 Downloaded the .zip file for the ADT plugin locally and tried but it kept saying 'org.eclipse...wst.ooo' could not be found. 在本地下载了用于ADT插件的.zip文件,并尝试了该文件,但是它一直说找不到“ org.eclipse ... wst.ooo”。 To correct the problem as suggested by some, I tried to update Indigo but the initial download of contents.jar from the repository is timing out. 为了纠正某些人建议的问题,我尝试更新Indigo,但是从存储库中下载content.jar的初始操作已超时。 Following is the error: 以下是错误:

Some sites could not be found. 找不到某些站点。 See the error log for more detail. 有关更多详细信息,请参见错误日志。 Unable to read repository at http://download.eclipse.org/releases/indigo/201106220900/content.jar . 无法读取http://download.eclipse.org/releases/indigo/201106220900/content.jar上的存储库。 Read timed out Unable to read repository at file:/C:/eclipse/p2/org.eclipse.equinox.p2.repository/cache/content-2092920409.jar. 读取超时无法读取文件:/ C:/eclipse/p2/org.eclipse.equinox.p2.repository/cache/content-2092920409.jar上的存储库。 Premature end of file. 文件过早结束。

Please help! 请帮忙! PS: Have also tried running eclipse as an administrator. PS:还尝试过以管理员身份运行eclipse。

You need to have write permission on the android SDK tree. 您需要对android SDK树具有写权限。 Either use root to configure eclipse and install the plugin or chown -R . 使用root来配置eclipse并安装插件或chown -R。

I had the same problems. 我有同样的问题。 Tried all those solutions then ran 尝试了所有这些解决方案然后运行

sudo eclipse 须藤蚀

in my ubuntu; 在我的ubuntu中; the normal method and it worked. 正常的方法,并且有效。

I had the same problem in my case the problem was my antivirus and my firewall, this link helped me 我遇到同样的问题,问题出在我的防病毒软件和防火墙上,此链接对我有帮助

Eclipse - Downloading content.jar.. times out while installing plugins Eclipse-在安装插件时下载content.jar ..超时

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

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