成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

解決 Eclipse 創(chuàng)建 Android 項(xiàng)目無法正常預(yù)覽布局文件的問題

在 Eclipse 中創(chuàng)建 Android 項(xiàng)目時(shí),預(yù)覽 layout.xml 文件時(shí)可能會(huì)出現(xiàn)"This version of the rendering library is more recen

在 Eclipse 中創(chuàng)建 Android 項(xiàng)目時(shí),預(yù)覽 layout.xml 文件時(shí)可能會(huì)出現(xiàn)"This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in"的提示,導(dǎo)致無法正常預(yù)覽布局文件。這個(gè)問題的根源在于 SDK 版本過高,而 ADT 插件版本過低。

解決方法一:更新 ADT 插件

1. 找到 Eclipse 文件夾,打開 Eclipse 軟件。

2. 在 Eclipse 中選擇"Help" > "Install New Software"。

3. 在"Work with"字段中輸入: ,選擇"Developer Tools / Android Development Tools"。

4. 點(diǎn)擊"Next"開始安裝。

解決方法二:改變 Android 版本

如果方法一安裝不成功,可以嘗試第二種解決方法:

1. 打開 layout 文件中的 .xml 文件。

2. 找到選擇 Android 版本的按鈕,改變 Android 版本。

解決方法三:修改 文件

第三種解決方法是打開 Android 項(xiàng)目中的 文件,直接修改 Android 版本:

targetandroid-18

通過以上三種方法,相信您一定能夠解決 Eclipse 創(chuàng)建 Android 項(xiàng)目無法正常預(yù)覽布局文件的問題。

標(biāo)簽: