【问题标题】:eclipse error with plugins after update更新后插件出现eclipse错误
【发布时间】:2013-11-07 13:50:36
【问题描述】:

我遇到了问题

This version of the rendering library is more recent than your version of ADT plug-in.
Please update ADT plug-in

我从以下方面尝试过:Eclipse reports rendering library more recent than ADT plug-in

1. Click Help > Install New Software.
2. In the Work with field, enter: https://dl-ssl.google.com/android/eclipse/
3. Select Developer Tools / Android Development Tools.
4. Click Next and complete the wizard.

新问题:

An error has occurred. See error log for more details.java.lang.NullPointerException

我在 windows cmd 上试过这个(再次通过一些 stackoverflow 论坛):

eclipse -clean -clearPersistedState

但我没有任何解决办法

这是新消息:

An error has occurred. See error log for more details.com/android/utils/SparseArray

错误日志有很多消息,例如:

Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

每当我尝试打开任何布局 xml 文件时都会显示

还原后(如 aumand 所建议),我又回到了我的第一个问题上是4.1.2,并且taget已加载4.4)

This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in.

请大家帮忙..

【问题讨论】:

  • 不是真正的解决方案,但可能是一种解决方法:如果在更新过程中出现“某些问题”,那么您可以将 eclipse 安装恢复到以前的版本。这可以(取决于您的 Eclipse 版本)通常通过输入 Help > About Eclipse > Installation details > {Select a version before your update} > Revert 来完成
  • 我认为一旦你需要重新安装eclipse并重新安装......
  • 在这次更新中,我刚刚选择并更新了android开发工具
  • 按照 aumand 所说的方式尝试恢复这一点
  • 还原后,我又回到了我的第一个问题上是4.1.2,并且taget已加载4.4)>>>>此版本的渲染库比您的ADT插件版本更新。请更新 ADT 插件。$$$$ 但我不知道解决方案

标签: java android eclipse eclipse-plugin eclipse-adt


【解决方案1】:

从帮助>检查更新将您的 DDMS 和 ADT 更新到最新版本。这解决了我的问题!

【讨论】:

  • 我在没有更新 Android DDMS 的情况下更新了 Android 开发者工具 (ADT)。更新 DDMS 解决了我的问题。错误消息非常具有误导性!
【解决方案2】:

从谷歌下载并安装Eclipse/ADT bundle。 Eclipse 不需要任何更新,您只需要运行 SDK 管理器来检查一些更新并安装您想要的任何以前的版本。

我在最初的 Eclipse 安装后执行了此操作,后来添加了 ADT,决定不再运行(启动时崩溃)。这个包比以前的东西效果更好,尽管它们都是最新的。

您还可以将之前的 sdk 文件夹中的任何内容复制到新文件夹中,这样您就不必重新安装了。

【讨论】:

    【解决方案3】:

    最好下载 Eclipse ADT Bundle,到这里下载它http://developer.android.com/sdk/index.html,你可以运行 sdk manager 来检查任何类型的更新。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-08-22
      • 2021-01-19
      • 1970-01-01
      • 1970-01-01
      • 2016-09-02
      • 1970-01-01
      • 2012-06-15
      相关资源
      最近更新 更多