原文网址:http://1982106a.blog.163.com/blog/static/8436495620149239361692/
预览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.
- 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.
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.
android:minSdkVersion="8"
android:targetSdkVersion="18"
用 SDK Manager 更新下载一些东西之后,Graphical Layout里面就变成空白的啦,而不是显示布局的绘图.同时Eclipse显示下列信息,让你去更新ADT的插件。更就更呗,下面我们来解决这个问题。
点击 Help > Install New Software.
在 Work with 的输入区域里, 输入: https://dl-ssl.google.com/android/eclipse/
选择 Developer Tools / Android Development Tools.
点击 Next 并完成安装.
注意:升级之前将旧的版本先卸载掉,否则升级会失败。