Android 错误解析XML:格式不正确(无效令牌)

Android 错误解析XML:格式不正确(无效令牌),android,xml,xml-parsing,Android,Xml,Xml Parsing,我检查了网站上给出的最大解决方案,但仍然无法找到错误并解决此问题。请帮我解决这个问题 这是我的密码 <?xml version="1.0" encoding="UTF-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" androi

我检查了网站上给出的最大解决方案,但仍然无法找到错误并解决此问题。请帮我解决这个问题

这是我的密码

<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white"
android:orientation="vertical" >

<LinearLayout
    android:xmlns:facebook="http://schemas.android.com/apk/res-auto"
    android:id="@+id/fbuserinfo"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_margin="10dp" >

    <com.facebook.widget.ProfilePictureView
        android:id="@+id/user_profile_pic"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center_horizontal"
        facebook:preset_size="small" />

    <TextView
        android:id="@+id/user_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="10dp"
        android:text="@string/facebook_loading"
        android:textColor="@color/black"
        android:textSize="18sp" />
</LinearLayout>

</RelativeLayout>

我怀疑这就是问题所在:

android:xmlns:facebook="http://schemas.android.com/apk/res-auto"
我希望它只是:

xmlns:facebook="http://schemas.android.com/apk/res-auto"

更改您的LinearLayout支票


....

完整的错误信息是什么?我希望不止这些…错误解析XML:格式不正确(无效令牌)Eclipse仅显示此文本。\n尝试代码后,此错误在此行生成多个批注:-为标记LinearLayout找到意外的命名空间前缀“xmlns”-错误:错误解析XML:格式不正确(无效令牌)@用户1308205:嗯。。。这很奇怪。。。它只是为
facebook
别名指定一个名称空间URI。我现在没有时间提供进一步的帮助,但我会仔细检查示例。应该没有必要重新声明android名称空间别名。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:facebook="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
....