2

我是一名新的 Android 开发人员。在 Win 7 系统上尝试为 Eclipse 安装 ADT 插件时,我遇到了以下警告:

Warning: You are installing software that contains unsigned content. The authenticity or validity of this software cannot be established. Do you want to continue with the installation?

我单击“确定”按钮继续,然后出现另一个弹出窗口,其中包含以下消息:

出现问题:

“安装软件”遇到问题。

An error occurred while installing the items
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.android.ide.eclipse.adt 10.0.1.v201103111512-110841, action=).
Failed to prepare partial IU: [R]com.android.ide.eclipse.adt 10.0.1.v201103111512-110841.

重新启动我的机器没有帮助,重新安装新的 Eclipse 副本也没有帮助。

任何帮助将不胜感激!

谢谢!

4

2 回答 2

5

我也遇到过这个问题,我遇到了一些可能对您有所帮助的解决方案。

  1. 关闭你的杀毒软件,有人报告说它已经损坏了插件。重新下载插件,然后重试。

  2. 通过 Eclipse -> Preferences -> Install/Update -> Automatic Update 打开自动更新,以便您使用的所有组件都是最新的。这来自 AlphaBeta 对以下线程的响应http://groups.google.com/group/android-developers/browse_thread/thread/f3e69ff660789794/b1e12e80386142d0?pli=1

  3. 如果文件夹名称中有空格,请确保安装 eclipse 的路径中没有空格。同一线程上的另一位用户(ericdelang@gmail.com)说这解决了他的问题。

  4. 最后,对我有用的是解压缩 ADT.14.0.0.zip 并将所有文件从 ADT.14.0.0 的 plugins 文件夹复制到 eclipse 的 plugins 文件夹中。我有一个 mac,所以这意味着我从 ADT.14.0.0.zip 存档中复制了以下文件:

    com.android.ide.eclipse.adt_14.0.0.v201110171935-205994.jar
    com.android.ide.eclipse.ddms_14.0.0.v201110171935-205994.jar
    com.android.ide.eclipse.hierarchyviewer_14.0.0.v201110171935-205994.jar
    com.android.ide.eclipse.traceview_14.0.0.v201110171935-205994.jar
    overlay.com.android.ide.eclipse.adt.overlay_14.0.0.v201110171935-205994.jar`
    

    进入文件夹/Applications/eclipse/plugins。现在按照 developer.android.com 页面上的说明正常安装插件。

于 2011-10-25T15:47:52.487 回答
0

通过站点或存档安装它?尝试更改您的安装方式。我安装了存档,它运行良好,有时由于防火墙问题,通过更新站点安装时会出现问题。

于 2011-05-12T04:06:05.580 回答