我正在尝试使用developer.android.com上的说明在Eclipse中安装ADT,但是我收到了错误...
我做了什么: 我用推荐的exe-installer(r15版本)安装了android SDK。我用它下载了2个平台(Android 4.0和2.1)。 然后我按照推荐下载了Eclipse Classic。我启动了Eclipse并添加了plugin-repository。我从中获得了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的存储库链接,并尝试删除存储库并将其添加回来,但这些操作也没有运气。
有人可以帮忙吗?
答案 0 :(得分:4)
我遇到了同样的问题。我终于检查并使用https:Google服务器而不是http://dl-ssl.google.com/android/eclipse/
切换服务器有所帮助。我在installing-adt的问题排查部分找到了这个。
答案 1 :(得分:1)
当您安装在步骤2中下载的窗口安装程序时,它将安装在C:\ Program Files \ Android \ android-sdk
查看图片
然后点击Apply