Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I fix this version of the rendering library is more recent than your version of ADT plug-in in eclipse? [duplicate]

I was updated my android SDK tools to 24.1.2 and I updated to Android API 22 (that is, 5.1) and I restarted my eclipse and created new android project with target API of 22 then when I was opened my XML file it was not showing any preview. It was showing an error:

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

like image 339
RD Division Medequip Avatar asked Mar 18 '15 14:03

RD Division Medequip


Video Answer


1 Answers

Using Gradle

https://stackoverflow.com/a/20167880/2265926

In XML

<uses-sdk
    android:minSdkVersion="14"
    android:targetSdkVersion="18" />

In IDE

Just try changing android version while rendering layout.

In Eclipse :

enter image description here

In Android Studio :

enter image description here

like image 139
Umar Sid Avatar answered Oct 16 '22 07:10

Umar Sid