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

来源:互联网 发布:java程序员认证培训 编辑:程序博客网 时间:2024/05/01 00:15

http://adt.android-studio.org/

地址:http://stackoverflow.com/questions/18852983/eclipse-reports-rendering-library-more-recent-than-adt-plug-in

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


互相学习,请关注我的微博weibo.com/ganchaojiang 


预览layout.xml文件时提示:

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

导致无法正常预览布局文件;

问题根源:SDK版本过高,ADT版本低;

解决办法有好几种,如下:

1.

  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. 

2.


Change android version while rendering layout.



3,

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

<code><span class="pln">android</span><span class="pun">:</span><span class="pln">minSdkVersion</span><span class="pun">=</span><span class="str">"8"</span><span class="pln">android</span><span class="pun">:</span><span class="pln">targetSdkVersion</span><span class="pun">=</span><span class="str">"18"</span></code>
0 0
原创粉丝点击