本文翻译自:Eclipse reports rendering library more recent than ADT plug-in
On a new Android SDK installation, the Eclipse Graphical Layout is blank, rather than showing the rendering of the layout. 在新安装的Android SDK上,Eclipse图形布局为空白,而不是显示布局的呈现。 Eclipse displays this message: Eclipse显示以下消息:
This version of the rendering library is more recent than your version of ADT plug-in. 此版本的渲染库比您的ADT插件版本新。 Please update ADT plug-in. 请更新ADT插件。
The bug report Eclipse reports rendering library more recent than ADT plug-in lists the steps to reproduce. 错误报告Eclipse报告的渲染库比ADT插件列出的更新步骤要晚 。 How do I fix this? 我该如何解决?
#1楼
参考:https://stackoom.com/question/1h6wn/Eclipse报告的渲染库比ADT插件更新
#2楼
- Click Help > Install New Software . 单击帮助>安装新软件 。
- In the Work with field, enter:
https://dl-ssl.google.com/android/eclipse/
在[ 使用方式]栏位中,输入:https://dl-ssl.google.com/android/eclipse/
:https://dl-ssl.google.com/android/eclipse/
- Select Developer Tools / Android Development Tools . 选择开发人员工具/ Android开发工具 。
- 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. 否则,请更改Android清单文件中的SDK版本。
android:minSdkVersion="8"
android:targetSdkVersion="18"
#4楼
The Reason for Warning is your using Old ADT (Android development tools), so Update your ADT by following the procedures below 警告的原因是您使用的是旧版ADT(Android开发工具),因此请按照以下步骤更新ADT
Procedure 1: 程序1:
- Inside Eclipse Click Help menu 在Eclipse中,单击“帮助”菜单
- Choose Check for Updates 选择检查更新
- It will show Required Updates in that window choose All options using Check box or else choose ADT Updated. 它将在该窗口中显示“必需的更新”,选择“使用复选框的所有选项”,否则选择“ ADT已更新”。
Procedure 2: 步骤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. 在使用字段中,输入: https : //dl-ssl.google.com/android/eclipse/选择开发人员工具/ Android开发工具。 Click Next and complete the wizard. 单击下一步,完成向导。
#5楼
Change android version while rendering layout. 渲染布局时更改android版本。
Change in API version 18 to 17 work for me. 将API版本18更改为17对我有用。
Edit: Solution worked for Android Studio too. 编辑:解决方案也适用于Android Studio。
#6楼
Please try once uninstalling from Help-->Installation details 请尝试从帮助->安装详细信息中进行一次卸载
and try again installing using http://dl-ssl.google.com/android/eclipse/ 然后尝试使用http://dl-ssl.google.com/android/eclipse/重新安装