简体   繁体   English

更新后插件出现日食错误

[英]eclipse error with plugins after update

I encountered a problem with 我遇到了一个问题

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

i tried this as learned from: Eclipse reports rendering library more recent than ADT plug-in 我从以下经验中学到了这一点: Eclipse报告的渲染库比ADT插件更新

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.

new problem: 新问题:

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

i tried this on windows cmd ( again through some stackoverflow forums): 我在Windows cmd上尝试过此操作(再次通过一些stackoverflow论坛):

eclipse -clean -clearPersistedState

But i have not got any solution 但是我没有任何解决方案

This is new message: 这是新消息:

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

Error log has a lot of messages like: 错误日志中有很多消息,例如:

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

It shows whenever i try to open any layout xml file 它显示我何时尝试打开任何布局xml文件

after reverting ( as suggested by aumand) i am back on my first problem again with this msg on graphical layout of xml files ( i dont remember the exact words, but i think issue is something like >>>library i am using is 4.1.2 and the taget has loaded 4.4) 还原后(如aumand的建议),我再次使用此msg来重新解决我的第一个问题,该msg位于xml文件的图形布局中(我不记得确切的单词,但是我认为问题类似于>>> library,我正在使用的是4.1。 2,并且标记已加载4.4)

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

Plz help guyz.. 请帮助家伙。

Update your DDMS and ADT to latest version form Help>Check For Updates. 从帮助>检查更新,将DDMS和ADT更新到最新版本。 this solved my problem! 这解决了我的问题!

Download and install the Eclipse/ADT bundle from google. 从Google下载并安装Eclipse / ADT捆绑包 Eclipse won't need any updates, and you will only need to run the SDK manager to check for a few updates and install any previous versions you want. Eclipse不需要任何更新,您只需要运行SDK管理器来检查一些更新并安装所需的任何先前版本。

I did this after my initial Eclipse install, with ADT added later, decided it didn't want to run any more (crash on startup). 我在最初的Eclipse安装后添加了ADT,然后又决定不再运行(启动时崩溃),然后执行了此操作。 The package works better than the previous stuff, even though they were both up to date. 即使它们都是最新的,该程序包也比以前的东西效果更好。

You can also copy anything from your previous sdk folder to the new one, so you don't have to install it again. 您还可以将任何内容从以前的sdk文件夹复制到新的文件夹,因此无需再次安装。

下载Eclipse ADT Bundle最好的工具,请转到此处下载它http://developer.android.com/sdk/index.html,然后您可以运行sdk管理器来检查是否有任何更新。

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

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