xml布局解析报如下的错
11-15 16:55:21.425 17633-17633/com.hongfans.mobileconnect I/LogUtils_info: [CrashHandler.java#sendCrashLog2PM(199)_CrashHandler.java#saveCatchInfo2File(171)_CrashHandler.java#handleException(96)]java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
11-15 16:55:21.425 17633-17633/com.hongfans.mobileconnect I/LogUtils_info: [CrashHandler.java#sendCrashLog2PM(199)_CrashHandler.java#saveCatchInfo2File(171)_CrashHandler.java#handleException(96)] at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734)
11-15 16:55:21.425 17633-17633/com.hongfans.mobileconnect I/LogUtils_info: [CrashHandler.java#sendCrashLog2PM(199)_CrashHandler.java#saveCatchInfo2File(171)_CrashHandler.java#handleException(96)] at android.view.LayoutInflater.rInflate(LayoutInflater.java:825)
可能原因如下:
  <View
android:layout_width="match_parent"
android:layout_height="@dimen/x10"
android:background="#F0F0F0" />
写成了
<view
android:layout_width="match_parent"
android:layout_height="@dimen/x10"
android:background="#F0F0F0" />
将View写成了view(注意大小写)
05-08 15:03