290

On a new Android SDK installation, the Eclipse Graphical Layout is blank, rather than showing the rendering of the layout. Eclipse displays this message:

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

The bug report Eclipse reports rendering library more recent than ADT plug-in lists the steps to reproduce. How do I fix this?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Edward Brey
  • 40,302
  • 20
  • 199
  • 253

6 Answers6

512
  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.
Edward Brey
  • 40,302
  • 20
  • 199
  • 253
  • 12
    Do not use SDK Manager. Do the steps above for it to work. Most (like me) confuse between SDK Manager and Install New Software – taxeeta Sep 19 '13 at 10:09
  • 18
    Also it's better to enter the `https://dl-ssl.google.com/android/eclipse/` url manually rather than use the possible existing version without `https`. Might result in repository not found errors. – Jason Axelson Sep 26 '13 at 04:08
  • 89
    +1. sometimes i wonder how does the world work before google and stackoverflow. (Am I somehow supposed to innately know those steps and the url.) – justinkoh Oct 04 '13 at 09:43
  • 9
    For me it show nothing to update, but still layout doesn't render and showing the same message... any idea? – Hussain KMR Behestee Oct 09 '13 at 08:39
  • I am getting this error `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.3.0.v201310242005-887826` – Sébastien Dec 07 '13 at 18:47
  • 10
    Update: I solved my problem by unchecking `Contact all update sites during install to find required software` – Sébastien Dec 10 '13 at 18:47
  • 2
    i prefer the quicker Shubh's solution. Updating Eclipse often caused me problems and made me loose a lot of time – j.c Jan 11 '15 at 10:14
  • 1
    `https` did not work, for me this worked - `http://dl-ssl.google.com/android/eclipse/` – abdulH Feb 22 '15 at 06:24
  • 1
    "All items are installed" thats why no next button appears! – Umit Kaya Jul 11 '15 at 06:50
  • Here I was blaming myself when it was Google's fault. – Damien Dec 10 '15 at 05:13
  • 1
    `Cannot perform operation. Computing alternate solutions, May take a while: 1/15` ... and then when finished: `Cannot complete the request. See the error log for details. "Android Development Tools" will be ignored because it is already installed.` – dsdsdsdsd Apr 25 '16 at 16:48
  • Also uncheck `contact all update sites during install to find required software` – winterlight May 26 '16 at 13:41
  • 2
    After ADT 23.7 there is no update for ADT, google stopped supporting eclipse as their platform. now we will be unable to use adt from android version 6 – Iftikar Urrhman Khan Jun 25 '16 at 12:35
  • To the people saying that they can't click the `Next` button in the Install window, I suggest unchecking the box that says `Hide items that are already installed` – Chris Gong Jul 13 '16 at 19:25
340

Change android version while rendering layout.

enter image description here

Change in API version 18 to 17 work for me.

Edit: Solution worked for Android Studio too.

CoDe
  • 11,056
  • 14
  • 90
  • 197
  • 7
    This is a good solution if you don't want to update Eclipse/ADT. The downside is your layout will not be rendered on the latest tools, which is not a big deal. I recommend trying it before updating Eclipse/ADT as it is very quick to try and would confirm that updating would also fix the problem. – fishjd Feb 05 '14 at 18:53
  • 1
    very quick to try and would confirm that updating would also fix the problem – Shirish Herwade Apr 24 '14 at 12:48
  • 3
    This was the only thing that worked for me ...updating ADT is telling me there are dependancy conflicts...just hate eclipse and +5 for you – P-RAD Jul 09 '14 at 05:14
  • if it still not working ,then open up SDK manager and install a lower api sdk , and restart eclipse – P-RAD Jul 23 '14 at 12:32
  • This looks more like a workaround than a solution, IMHO. – Niki Romagnoli May 04 '15 at 16:47
  • This solution coupled with the update from above by Edward Brey worked for me. Thank you! – Brandon Jun 24 '15 at 14:45
  • This is the actual problem! – Iharob Al Asimi Jul 13 '15 at 21:43
  • I have the latest ADT and still it seems that rendering the API `22: Android M (Preview)` is not supported by ADT (API `22: Android 5.1.1` renders ok). Google tells the Android Studio is the official tool, and not Eclipse with ADT. Is the solution to migrate to Android Studio? – Eugene Gr. Philippov Aug 07 '15 at 09:23
  • I checked with Studio and Eclipse both and it worked great. What is min API version update you have in you SDK. You can go either of lower version then 22. – CoDe Aug 07 '15 at 13:34
  • 1
    Yoooo!!! After spending 2 hour. Finally it worked just by changing rendering layout. Thanks man. – Umar Sid Aug 16 '15 at 08:41
  • @fishjd - Updating didn't fix the problem for me (possible because the editor was defaulting to the 'developer preview' SDK, and there's not a corresponding ADT update available through the Eclipse site yet?), but this answer did. – aroth Jul 01 '16 at 05:57
18

The Reason for Warning is your using Old ADT (Android development tools), so Update your ADT by following the procedures below

Procedure 1:

  1. Inside Eclipse Click Help menu
  2. Choose Check for Updates
  3. It will show Required Updates in that window choose All options using Check box or else choose ADT Updated.

enter image description here

Procedure 2:

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

Mafro34
  • 510
  • 8
  • 20
sravan
  • 5,303
  • 1
  • 31
  • 33
  • Interestingly, the check for updates kept failing on some egit crap that got left behind, but the install new worked great. – William T. Mallard Nov 12 '13 at 19:00
  • +1 I had similar experience as @WilliamT.Mallard. Check for updates said everything was up to date. Install New worked. – PeteH May 07 '16 at 07:40
1

Am i change API version 17, 19, 21, & 23 in xml layoutside

&&

Updated Android Development Tools 23.0.7 but still can't render layout proper so am i updated Android DDMS 23.0.7 it's works perfect..!!!

Dhruv Raval
  • 4,946
  • 3
  • 29
  • 34
-2

Please try once uninstalling from Help-->Installation details

and try again installing using http://dl-ssl.google.com/android/eclipse/

Hemanth
  • 7
  • 1
-10

Change the Target version to new updates you have. Otherwise, change what SDK version you have in the Android manifest file.

android:minSdkVersion="8"
android:targetSdkVersion="18"
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131