ADT开发常见问题

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

预览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. 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.

二、arsing Data for android-21 failed Unsupported major.minor version 51.0

在查看Android项目,layout的预览界面时

eclipse报这个:Parsing Data for android-21 failed Unsupported major.minor version 51.0

我本地还是用的jdk1.6, 这个api-21,需要1.7Later

 

————————  android-24 后报这个类似错误

Android api 24,即7.0之后要求编译版本是jdk1.8

posted @ 2018-07-05 20:47  lobtao  阅读(115)  评论(0)    收藏  举报