属性缺少android命名空间前缀,找不到错误
问题描述:
<linearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFCCCCCC"
android:orientation="vertical"
tools:context=".MainDrawingActivity" >
</linearLayout>
我找不到缺少的东西......请帮忙吗?属性缺少android命名空间前缀,找不到错误
答
它是LinearLayout,而不是linearLayout。大写你的L.
正是那个^^ – KRUKUSA 2014-09-10 21:15:36
啊,现在我觉得有点尴尬......谢谢! – user185578 2014-09-10 21:15:49
使用像Android Studio这样的IDE,它自动完成这样的事情。 – VM4 2014-09-10 21:16:41