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

— error: Error parsing XML: mismatched tag

2013-04-21 
求助— error: Error parsing XML: mismatched tag?xml version1.0 encodingutf-8?RelativeLayout

求助— error: Error parsing XML: mismatched tag
<?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">
<LinearLayout android:id="@+id/contentViewLayout" 
android:orientation="vertical"
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:layout_marginBottom="57dip"/>
<HorizontalScrollView
    android:id="@+id/Scroll"
    android:scrollbarSize="10dip"
    android:layout_alignParentBottom="true" 
    android:layout_width="fill_parent"
    android:background="@drawable/bottom_bar" 
        android:layout_height="40dip">
    <RadioGroup
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:id="@+id/tabBar">
    </RadioGroup>
</HorizontalScrollView>
</RelativeLayout>
总是报: Error parsing XML: mismatched tag错误,但不知道哪里有问题,谢谢!!
[解决办法]
clean一下试试
[解决办法]
这个布局文件应该是没有问题的,我运行的时候一切正常,是不是别的地方出错了?或者像楼上说的,clean一下吧
[解决办法]
XML文件解析错误 :标签不匹配
如果你运行程序时出现错误,LogCat中有更详细的错误,去里面看看具体是什么错误

热点排行