简体   繁体   English

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

[英]Trying to update Eclipse ADT - v 20.0.0 or above from v 18.x

(I am using eclipse 3.7.1) (我正在使用Eclipse 3.7.1)

After manually downloading Jellybean API in tools/android (instead of via ADT in Eclipse), I am experiencing some odd behaviour in Eclipse. 在tools / android中手动下载Jellybean API(而不是通过Eclipse中的ADT)之后,我在Eclipse中遇到了一些奇怪的行为。

The Android folder in Preferences is now no-longer-specifiable! “偏好设置”中的Android文件夹现在不再可指定! Error: This Android SDK requires Android Developer Toolkit version 20.0.0 or above. 错误:此Android SDK需要Android Developer Toolkit版本20.0.0或更高版本。 Current version is 18.0.0.v201203301601-306762. 当前版本是18.0.0.v201203301601-306762。 Please update ADT to the latest version. 请更新ADT为最新版本。

I then tried Install New Software, to grab this latest version. 然后,我尝试安装新软件以获取此最新版本。 That does not work, with the following errors being displayed: 这不起作用,并显示以下错误:

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 can't handle Android anymore, and uninstalling the API isn't working.. Eclipse无法再处理Android,并且无法卸载API。

Your Eclipse installation is missing the Eclipse Web Tools (which are used for the XML editing inside the ADT plugin). 您的Eclipse安装缺少Eclipse Web工具 (用于ADT插件内部的XML编辑)。 Installing them with older versions of Eclipse is described directly in the Android documentation . Android文档中直接描述了如何使用Eclipse的较早版本进行安装。

If those links are not sufficient for you, then please add your used Eclipse version to the question, as the link for installing the Web Tools depends on that version. 如果这些链接不足以满足您的要求,那么请在问题中添加使用的Eclipse版本,因为安装Web工具的链接取决于该版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM