android - 在 Eclipse : no repository found 中安装 ADT 时出错

标签 android eclipse installation

我正在尝试使用 developer.android.com 上的说明在 Eclipse 中安装 ADT,但出现错误...

我做了什么: 我使用推荐的 exe 安装程序(r15 版本)安装了 android SDK。我用它下载了 2 个平台(Android 4.0 和 2.1)。 然后我按照推荐下载了Eclipse Classic。我启动了 Eclipse 并添加了插件存储库。我从中得到 4 个包,其中 3 个我可以毫无问题地安装,但最重要的一个(称为“Android 开发工具”)向我抛出错误。

错误 当我尝试安装那个时,它会运行很长时间,在那段时间我的互联网连接非常慢,几乎不能再工作了。之后我收到安装失败的消息,并在详细信息中显示:

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,javax.xml,1.3.4.v201005080400
No repository found containing: osgi.bundle,org.apache.lucene.highlighter,2.9.1.v20100421-0704
No repository found containing: osgi.bundle,org.apache.lucene.memory,2.9.1.v20100421-0704
No repository found containing: osgi.bundle,org.apache.lucene.misc,2.9.1.v20100421-0704
No repository found containing: osgi.bundle,org.apache.lucene.queries,2.9.1.v20100421-0704
No repository found containing: osgi.bundle,org.apache.lucene.snowball,2.9.1.v20100421-0704
No repository found containing: osgi.bundle,org.apache.lucene.spellchecker,2.9.1.v20100421-0704
No repository found containing: osgi.bundle,org.apache.xerces,2.9.0.v201101211617
No repository found containing: osgi.bundle,org.apache.xml.resolver,1.2.0.v201005080400
No repository found containing: osgi.bundle,org.apache.xml.serializer,2.7.1.v201005080400
No repository found containing: osgi.bundle,org.eclipse.emf.common,2.7.0.v20110912-0920
No repository found containing: osgi.bundle,org.eclipse.emf.ecore,2.7.0.v20110912-0920
No repository found containing: osgi.bundle,org.eclipse.emf.ecore.change,2.7.1.v20110829-1916
No repository found containing: osgi.bundle,org.eclipse.emf.ecore.xmi,2.7.0.v20110520-1406
No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.7.1.v20110913-1526
No repository found containing: osgi.bundle,org.eclipse.jem.util,2.1.100.v201103021400
No repository found containing: osgi.bundle,org.eclipse.wst.common.core,1.2.0.v200908252030
No repository found containing: osgi.bundle,org.eclipse.wst.common.emf,1.2.100.v201101101900
No repository found containing: osgi.bundle,org.eclipse.wst.common.emfworkbench.integration,1.2.101.v201107140600
No repository found containing: osgi.bundle,org.eclipse.wst.common.environment,1.0.400.v200912181832
No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks,1.2.101.v201107192200
No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.200.v201103170332
No repository found containing: osgi.bundle,org.eclipse.wst.common.ui,1.1.500.v200911190730
No repository found containing: osgi.bundle,org.eclipse.wst.common.uriresolver,1.1.401.v201004280700
No repository found containing: osgi.bundle,org.eclipse.wst.sse.core,1.1.601.v201108151912
No repository found containing: osgi.bundle,org.eclipse.wst.sse.ui,1.3.1.v201108191312
No repository found containing: osgi.bundle,org.eclipse.wst.validation,1.2.302.v201107140600
No repository found containing: osgi.bundle,org.eclipse.wst.xml.core,1.1.601.v201108302147
No repository found containing: osgi.bundle,org.eclipse.wst.xml.ui,1.1.201.v201108151912

我试着用谷歌搜索这个问题,但我发现的都是与 Linux 系统相关的答案,而且我正在运行 Win7(Home Premium SP1 64 位,如果这有什么不同......)

我还尝试使用 http 而不是 https 的存储库链接,也尝试删除存储库并将其添加回来,但这些操作也没有成功。

有人可以帮忙吗?

最佳答案

我遇到了同样的问题。我终于检查并使用了 https: Google 服务器而不是 http://dl-ssl.google.com/android/eclipse/ 切换服务器有所帮助。我在 installing-adt 的故障排除部分找到了这个.

关于android - 在 Eclipse : no repository found 中安装 ADT 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7940880/

相关文章:

android - 在谷歌地图上添加多个覆盖项目

java - Android - 从应用程序发送电子邮件崩溃电子邮件 - 强制关闭

java - Android 应用仅在 list 中未指定 sdk 版本时才能运行

java - 如何从Android中的SD卡中删除捕获的视频

java - Android Studio - 将应用程序推送到手机,不让我这么做

linux pip包安装报错

android - Firebase - 同一项目中的多个应用程序可以使用相同的服务帐户 key (推送通知)

java - 如何从库项目调用主项目中的类/方法?

c# - 将命令行参数添加到服务安装程序 c#

java - 从服务器更新java代码