When Eclipse creates an Android project, you are prompted when previewing the Layout.xml file: This version of the rendering library was more recent than your version of ADT plug- In. Please update ADT plug-in, resulting in the inability to preview the layout file properly. Root cause: The SDK version is too high and the ADT version is too low. The workaround is as follows.
Tools/Materials
Method/Step
- 1
Locate the Eclipse folder, open the Eclipse software, create an Android app, and click Help to select Install new software. In the Work with field, type: https://dl-ssl.google.com/android/eclipse/, select developer Tools/android Development Tools. Click Next. Start the installation.
- 2
If the installation is unsuccessful, the second workaround. Open the. xml file in the layout file, locate the Choose Android Version button, and change the Android version.
- 3
The third solution is to open the Project.Properties in the Android project and modify the version directly: target=android-18
Eclipse Create Android Project does not preview layout file properly