xml不能正常预览
来源:互联网 发布:淘宝网上买东西退货 编辑:程序博客网 时间:2024/04/24 12:25
今天在调试时eclipse不能预览布局文件,提示如下
This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
上网搜索才知道原因,现在分享出来,希望能帮到各位年轻的同学们
原文地址:http://blog.csdn.net/g19920917/article/details/20289247
出现这个提示的原因是本地SDK版本高于ADT版本,所以要下调SDK的版本,具体方法有三种
1、在布局预览页面直接设置,如图所示:
2、
- Click Help > Install New Software.
- In the Work with field, enter:
https://dl-ssl.google.com/android/eclipse/
- Select Developer Tools / Android Development Tools.
- Click Next and complete the wizard.
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"><span style="background-color: rgb(255, 255, 255);">android</span></span><span class="pun"><span style="background-color: rgb(255, 255, 255);">:</span></span><span class="pln"><span style="background-color: rgb(255, 255, 255);">minSdkVersion</span></span><span class="pun"><span style="background-color: rgb(255, 255, 255);">=</span></span><span class="str"><span style="background-color: rgb(255, 255, 255);">"8"</span></span><span class="pln"><span style="background-color: rgb(255, 255, 255);">android</span></span><span class="pun"><span style="background-color: rgb(255, 255, 255);">:</span></span><span class="pln"><span style="background-color: rgb(255, 255, 255);">targetSdkVersion</span></span><span class="pun"><span style="background-color: rgb(255, 255, 255);">=</span></span><span class="str"><span style="background-color: rgb(255, 255, 255);">"18"</span></span></code>
<code><span class="str"><span style="background-color: rgb(255, 255, 255);"></span></span></code>
<code><span class="str"><span style="background-color: rgb(255, 255, 255);">希望能帮到各位!</span></span></code>
0 0
- xml不能正常预览
- 水晶报表不能正常预览的问题
- activity_main.xml不能预览问题
- xml文件不能正常打开
- Win7系统不能正常预览Word2010文档怎么办
- XML中使用自定义控件时不能预览
- libexpat不能处理XML中非正常字符的问题
- eclipse创建android项目,XML文件无法正常可视化预览布局
- 用Eclipse开发安卓-无法正常预览布局文件layout.xml
- XML输出中文时,无法用xsl查看(XML文件不能正常显示、中文显示乱码)
- AndroidStudio-xml预览布局无法正常显示tag requires a 'drawable' attribute or child tag defining a drawable
- 电脑不能正常关机
- 系统不能正常启动
- 电脑不能正常关机
- eclipse 不能正常启动
- 【help】不能正常上网
- ClassView 不能正常显示
- 项目不能正常启动?
- swing设计基础2
- 略谈如何在对话框创建视图类画图
- HTML5 拖放 视频(音频) 存储
- 深度优先搜索与广度优先搜索
- coderforce 598A. Tricky Sum(math)
- xml不能正常预览
- Mac系统截图快捷键
- Gas Station(Medium)
- CodeForces 525A Vitaliy and Pie 题意题
- SQLite-基本语法整理-3
- MATLAB实现cost function计算和gradience descent计算
- hdoj--1010--Tempter of the Bone(搜索+奇偶剪枝)
- 拯救公主
- python第一节