Binary XML file Attempt to invoke virtual method 'boolean java.lang.String.equal
程序员文章站
2022-07-12 10:52:49
...
Binary XML file Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
<view android:layout_width="match_parent" android:layout_height="1dp"/>
Change view
to View
in the 4 or 5 places where it is lowercase in your xml
参考:
https://*.com/questions/43919205/getting-binary-xml-file-line-141-attempt-to-invoke-virtual-method-boolean-jav?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
推荐阅读
-
报错android.view.InflateException: Binary XML file line #11: Attempt to invoke virtual method 'boolean怎么解决?
-
Binary XML file Attempt to invoke virtual method 'boolean java.lang.String.equal
-
解决Android指纹识别Crash异常Attempt to invoke virtual method ‘boolean FingerprintManager.isHardwareDetected()‘ on a null objec
-
报错android.view.InflateException: Binary XML file line #11: Attempt to invoke virtual method 'boolean怎么解决?
-
解决Android指纹识别Crash异常Attempt to invoke virtual method ‘boolean FingerprintManager.isHardwareDetected()‘ on a null objec
-
报错android.view.InflateException: Binary XML file line #11: Attempt to invoke vir