This Android SDK requires Android Developer Toolkit version 22.6.1 or above.
Current version is 22.3.0.v201310242005-887826
当我按"检查更新"按钮,Eclipse显示一条消息说"没有找到更新"信息。如果我通过帮助 - 检查更新来执行此操作,则会得到相同的结果。
如果我打开帮助 - 安装新软件并选择开发人员工具更新站点,我会在那里看到新版本的软件包,但是当我尝试安装它们时,Eclipse会向我显示另一条错误消息。
An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.adt.package,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.base,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,22.6.1.v201403111859-1066720
No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer,22.6.1.v201403111859-1066720
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview,22.6.1.v201403111859-1066720
我尝试从官方Android网站上下载,安装和升级新版本的ADT,但我遇到同样的问题。
答案 0 :(得分:53)
请按以下步骤操作:
帮助> 安装新软件
选择ADT更新站点。
有两个,一个有
http://
,一个有https://
如果一个不起作用,请尝试另一个。 HTTPS 无效将其更改为HTTP 并且可以正常工作
选择开发者工具部分,然后按下一步。
您应该会看到一个对话框,其中显示"此软件已安装,将执行更新" 。单击“确定”将导致安装 22.6.1 。