据说 这是 android 3.1特有的bug,总是没弄明白,最后直接改了代码内容,就不报错了
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/AppTheme"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
</RelativeLayout>