首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

异常error: Error parsing XML: unbound prefix 求解答

2013-03-21 
错误error: Error parsing XML: unbound prefix 求解答?xml version1.0 encodingutf-8?LinearLay

错误error: Error parsing XML: unbound prefix 求解答
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >
<EditText
    android:layout_width="match_parent"
    android:layout_hight="wrap_content"
    android:name="@+id/editText1"
    />
  
    <TextView
        
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/hello" 
        android:id="@+id/textText1"
        />
  <ImageView    ///这里总是出现这个错误error: Error parsing XML: unbound prefix
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/flg" 
        andoid:id="@+id/imgeView1"
        />  
  
 

    <Button
        android:id="@+id/button1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Button" />
</LinearLayout> android layout
[解决办法]
 <ImageView    ///这里总是出现这个错误error: Error parsing XML: unbound prefix
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/flg" 
        andoid:id="@+id/imgeView1"
        />  
单词错了,是android

热点排行