How can i fix This version of the rendering library is more recent than your version of ADT plug-in in eclipse

对着背影说爱祢 提交于 2019-12-04 17:11:14

问题


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. Please help me how to fix it


回答1:


Go to Help >> Install new software and add install https://dl-ssl.google.com/android/eclipse/ then select Developer Tools and click on next to begin install

or

Change the API version in XML.




回答2:


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 :

In Android Studio :



来源:https://stackoverflow.com/questions/29124548/how-can-i-fix-this-version-of-the-rendering-library-is-more-recent-than-your-ver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!