解決layout預覽問題
阿新 • • 發佈:2019-01-26
預覽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"