【发布时间】:2011-10-29 18:39:47
【问题描述】:
我正在尝试使用 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 64bit...)
我还尝试使用带有 http 而不是 https 的存储库链接,还尝试删除存储库并将其添加回来,但这些操作也没有运气。
有人可以帮忙吗?
【问题讨论】:
-
在window 7中查看如何逐步设置android开发工具androidlearningbegin.blogspot.com/2011/10/…的链接。
-
感谢您的链接!我可以从 Google 下载 ADT-zipfile,这样现在应该会更好一些。但是有一个问题:在第 7 步中,它告诉我浏览到 SDK 文件夹,但我找不到应该指向该文件夹的输入字段。你能帮我吗?
标签: android eclipse installation