错误:解析XML时出错:标记不匹配android

时间:2013-02-10 10:45:01

标签: java android xml

该项目工作正常然后突然出现此错误,虽然我没有添加或更改任何内容。

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >

    <TextView
        android:id="@+id/AppName"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_weight="18.15"
        android:textSize="20px" >

    </TextView> 
</LinearLayout>

1 个答案:

答案 0 :(得分:0)

当我尝试这段代码时,它不会出现任何错误。 尝试使用任何IDE提供的clean选项清理项目。

相关问题