java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.paipaixiu/com.example.paipaixiu.MASetSomeThing}: android.view.InflateException: Binary XML file line #19: Attempt to invo

这个报错是因为Android布局的控件

<view
android:layout_width="match_parent"
android:layout_height="1dp"/>

无法识别,要写成 <View .... />
V要大写,小写编译时不识别

猜你喜欢

转载自www.cnblogs.com/c2g5201314/p/10537262.html