1
我試圖在Eclipse中打開我的佈局xml文件。我只獲得誤差Android佈局編輯器缺失
No XML content. Please add a root view or layout to your document.
想知道這是一個問題,我的XML文件是正確的,EG:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget32"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#e4e8ed">
<Logic.TouchImageView
android:id="@+id/right_finger"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
我試着右擊該.xml文件,並用它打開Android Layout Editor
,但我無法在列表中找到此編輯器。我還嘗試從「文件關聯」下的「首選項」菜單中添加它,但編輯器未顯示在此處。唯一的Android relatated XML編輯器:
- 的Android二進制XML編輯器
- 的Android通用的XML編輯器
- 的Android導出編輯
- Android清單編輯
是否有人知道爲什麼會這樣?佈局編輯器有這麼多的錯誤,我發現很難使用這個工具,如果谷歌不更新它..