[英]Android Layout Editor missing
我試圖立即在Eclipse中打開布局xml文件。 而且我只會得到錯誤
No XML content. Please add a root view or layout to your document.
想知道為什么這是一個問題,我的xml文件是正確的,例如:
<?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相關xml編輯器是:
有人知道為什么會這樣嗎? 布局編輯器有很多錯誤,如果Google不更新它,我會發現很難使用此工具。
嘗試通過SDK管理器更新android工具,我曾經遇到過這個問題,更新為最新版本已修復
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.