首页 > 移动平台 > 详细

eclipse创建android项目,无法正常预览布局文件,出现This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in...

时间:2015-11-02 11:37:06      阅读:3250      评论:0      收藏:0      [点我收藏+]

eclipse创建android项目时,预览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版本过低。解决方法如下。

技术分享
 

工具/原料

  • eclipse
  • ADT插件

方法/步骤

  1.  

    找到eclipse文件夹,打开eclipse软件,创建android应用项目,点击help选择install new software。In the Work with field,键入: https://dl-ssl.google.com/android/eclipse/,选择Developer Tools / Android Development Tools.点击next。开始安装。(当时我是使用的此方法解决的)

     

  2.  

    若安装不成功,第二种解决方法。打开layout文件中的.xml文件,找到选择android版本按钮,改变android版本。

    技术分享
  3. 3

    第三种解决方法是打开android项目中的project.properties,直接修改版本:target=android-18

eclipse创建android项目,无法正常预览布局文件,出现This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in...

原文:http://www.cnblogs.com/earl-yongchang/p/4929439.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!