尝试从v 18.x更新Eclipse ADT-v 20.0.0或更高版本

时间:2012-10-21 08:57:44

标签: android eclipse adt avd

(我正在使用eclipse 3.7.1)

在tools / android中手动下载Jellybean API(而不是在Eclipse中通过ADT),我在Eclipse中遇到了一些奇怪的行为。

“首选项”中的Android文件夹现在不再可指定! 错误: 此Android SDK需要Android Developer Toolkit 20.0.0或更高版本。当前版本是18.0.0.v201203301601-306762。请将ADT更新到最新版本。

然后我尝试了安装新软件,以获取此最新版本。这不起作用,显示以下错误:

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,org.eclipse.emf.common,2.7.0.v20120127-1122
No repository found containing: osgi.bundle,org.eclipse.emf.ecore,2.7.0.v20120127-1122
No repository found containing: osgi.bundle,org.eclipse.emf.ecore.change,2.7.1.v20120127-1122
No repository found containing: osgi.bundle,org.eclipse.emf.ecore.xmi,2.7.0.v20120127-1122
No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.7.2.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks,1.2.102.v201201190400
No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.201.v201201101553
No repository found containing: osgi.bundle,org.eclipse.wst.validation,1.2.303.v201202090300

Eclipse无法再处理Android了,卸载API无效..

1 个答案:

答案 0 :(得分:1)

您的Eclipse安装缺少Eclipse Web Tools(用于ADT插件内的XML编辑)。使用旧版本Eclipse安装它们直接在Android documentation

中描述

如果这些链接不适合您,请将您使用过的Eclipse版本添加到该问题中,因为安装Web Tools的链接取决于该版本。