You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debug的时候报的错 Caused by: android.view.InflateException: Binary XML file line #6 in com.example.accountbook:layout/activity_camera_scan: Binary XML file line #6 in com.example.accountbook:layout/activity_camera_scan: Error inflating class me.devilsen.czxing.view.scanview.ScanLayout Caused by: android.view.InflateException: Binary XML file line #6 in com.example.accountbook:layout/activity_camera_scan: Error inflating class me.devilsen.czxing.view.scanview.ScanLayout Caused by: android.view.InflateException: Binary XML file line #6 in com.example.accountbook:layout/view_scan_layout: Error inflating class me.devilsen.czxing.view.scanview.DetectView Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.setPreviewDisplay(android.view.SurfaceHolder)' on a null object reference
搞了好半天没弄出来,是什么情况呀
The text was updated successfully, but these errors were encountered:
debug的时候报的错
Caused by: android.view.InflateException: Binary XML file line #6 in com.example.accountbook:layout/activity_camera_scan: Binary XML file line #6 in com.example.accountbook:layout/activity_camera_scan: Error inflating class me.devilsen.czxing.view.scanview.ScanLayout Caused by: android.view.InflateException: Binary XML file line #6 in com.example.accountbook:layout/activity_camera_scan: Error inflating class me.devilsen.czxing.view.scanview.ScanLayout Caused by: android.view.InflateException: Binary XML file line #6 in com.example.accountbook:layout/view_scan_layout: Error inflating class me.devilsen.czxing.view.scanview.DetectView Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.hardware.Camera.setPreviewDisplay(android.view.SurfaceHolder)' on a null object reference
搞了好半天没弄出来,是什么情况呀
The text was updated successfully, but these errors were encountered: