Java Eclipse Android解析XML时出错:取消绑定前缀

Java Eclipse Android解析XML时出错:取消绑定前缀,java,android,xml,eclipse,Java,Android,Xml,Eclipse,我是一个eclipse/AndroidNoob,只是从一本书中输入源代码。目前,我对此有问题: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" anndroid:lay

我是一个eclipse/AndroidNoob,只是从一本书中输入源代码。目前,我对此有问题:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
anndroid:layout_height="match_parent"
tools:context="example.firstandroid.MainActivity"
>
<TextView 
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="@string/insa"
    android:textColor="#ff0000"
    android:textSize="20pt"
    android:textStyle="italic"
    />
<TextView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="@string/anyouing"
    android:textSize="20sp"
    android:background="#0000ff"
    />
<Textview
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="Good Morning"
    android:textcolor="#8000ff00"
    android:textsize="5mm"
    android:typeface="serif"
    />

编写此代码会给我两个“错误”-

  • 错误:分析XML时出错:未绑定前缀
  • 未解析的aapt错误:检查控制台的输出

  • 显示logcat的错误??最后一个TextView没有大写,还有textSize属性我确实大写了TextView和textSize,但我还不能解决这个问题。这是一个输入错误:
    anndroid:layout_height=“match_parent”
    应该是
    android:layout_height=“match_parent”
    @ron Nemmondommegavezetéknevem非常感谢!!!终于解决了问题。从现在开始应该注意拼写错误。显示logcat的错误??最后一个TextView没有大写,还有textSize属性我确实大写了TextView和textSize,但我还不能解决问题。这是一个拼写错误:
    anndroid:layout\u height=“match\u parent”
    应该是
    android:layout\u height=“match\u parent”
    @ron Nemmondommegavezetéknevem非常感谢您!!!终于解决了问题。从现在起,你应该注意打字错误。