8

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

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):

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

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)

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

Plz help guyz..

Community
  • 1
  • 1
HimanshuR
  • 1,390
  • 5
  • 16
  • 35
  • Not a real solution but maybe a workaround: If "something" went wrong during your update process, then you may revert your eclipse installation to a previous version. This can (depending on your eclipse version) usually be done by entering Help > About Eclipse > Installation details > {Select a version before your update} > Revert – Andreas Aumayr Nov 07 '13 at 13:55
  • I think Once you need to reinstall the eclipse and reinstall... – vinay Maneti Nov 07 '13 at 13:56
  • during this updation, i just selected and updated android development tools – HimanshuR Nov 07 '13 at 13:57
  • trying to revert this as aumand said – HimanshuR Nov 07 '13 at 13:59
  • after reverting, 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)>>>>> This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in.$$$$ but i dont know the solution – HimanshuR Nov 08 '13 at 05:31
  • Try `Help->Check for Updates` once and check if any updates are displayed. – Ibungo Nov 08 '13 at 05:50
  • there is a long list of updates, but i don't want to mess with it again as i mentioned in my ques, what happened when i updated only one of them – HimanshuR Nov 08 '13 at 06:06
  • is it the only solution, do i need to update all of them – HimanshuR Nov 08 '13 at 06:13
  • I had "An error has occurred. See error log for more details.com/android/utils/SparseArray" when I just updated Android development Tools. I solved this problem after I installed rest of the updates: Android DDMS, Android Hierarchy Viewer, Android Traceview, Tracer for OpengGL ES. – Arst Feb 16 '14 at 11:59

3 Answers3

3

Update your DDMS and ADT to latest version form Help>Check For Updates. this solved my problem!

Harsh Dattani
  • 2,109
  • 1
  • 17
  • 27
  • I had updated Android Developer Tools (ADT) without updating Android DDMS. Updating DDMS solved my issue. The error messages is horribly misleading! – infl3x Feb 26 '14 at 08:59
0

Download and install the Eclipse/ADT bundle from google. 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.

I did this after my initial Eclipse install, with ADT added later, decided it didn't want to run any more (crash on startup). 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.

Rick Falck
  • 1,778
  • 3
  • 15
  • 19
0

Download Eclipse ADT Bundle its best , go here and download it http://developer.android.com/sdk/index.html and you can run sdk manager to check for any kind of updates.