(我正在使用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。
您的Eclipse安装缺少Eclipse Web工具(用于ADT插件内部的XML编辑)。 在Android文档中直接描述了如何使用Eclipse的较早版本进行安装。
如果这些链接不足以满足您的要求,那么请在问题中添加使用的Eclipse版本,因为安装Web工具的链接取决于该版本。
使用"安装新软件"功能安装任何东西的问题是我收到相同的错误