Android 身份证识别偶发性崩溃
minshengyizu 发布于2019-10-10 16:33 浏览:72 回复:1
0
收藏

崩溃日志,崩溃机型如下,使用了sdk提供的  定制 ui:

收藏
点赞
0
个赞
共1条回复 最后由minshengyizu回复于2019-10-10 16:36
#2minshengyizu回复于2019-10-10 16:36:37

java.lang.RuntimeException: startPreview failed at android.hardware.Camera.startPreview(Native Method) at com.baidu.ocr.ui.camera.Camera1Control.startPreview(Camera1Control.java:403) at com.baidu.ocr.ui.camera.Camera1Control.access$200(Camera1Control.java:30) at com.baidu.ocr.ui.camera.Camera1Control$3.onSurfaceTextureSizeChanged(Camera1Control.java:378) at android.view.TextureView.onSizeChanged(TextureView.java:367) at android.view.View.sizeChange(View.java:20905) at android.view.View.setFrame(View.java:20866) at android.view.View.layout(View.java:20726) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323) at android.widget.FrameLayout.onLayout(FrameLayout.java:261) at com.baidu.ocr.ui.camera.Camera1Control$PreviewView.onLayout(Camera1Control.java:568) at android.view.View.layout(View.java:20729) at android.view.ViewGroup.layout(ViewGroup.java:6198) at com.baidu.ocr.ui.camera.CameraView.onLayout(CameraView.java:482) at android.view.View.layout(View.java:20729) at android.view.ViewGroup.layout(ViewGroup.java:6198) at com.baidu.ocr.ui.camera.OCRCameraLayout.onLayout(OCRCameraLayout.java:104) at android.view.View.layout(View.java:20729) at android.view.ViewGroup.layout(ViewGroup.java:6198) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1083) at android.view.View.layout(View.java:20729) at android.view.ViewGroup.layout(ViewGroup.java:6198) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323) at android.widget.FrameLayout.onLayout(FrameLayout.java:261) at android.view.View.layout(View.java:20729) at android.view.ViewGroup.layout(ViewGroup.java:6198) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656) at android.widget.LinearLayout.onLayout(LinearLayout.java:1565) at android.view.View.layout(View.java:20729) at android.view.ViewGroup.layout(ViewGroup.java:6198) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323) at android.widget.FrameLayout.onLayout(FrameLayout.java:261) at com.android.internal.policy.DecorView.onLayout(DecorView.java:757) at android.view.View.layout(View.java:20729) at android.view.ViewGroup.layout(ViewGroup.java:6198) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2884) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2411) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1546) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7438) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1033) at android.view.Choreographer.doCallbacks(Choreographer.java:829) at android.view.Choreographer.doFrame(Choreographer.java:764) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1019) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:201) at android.app.ActivityThread.main(ActivityThread.java:6826) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

0
TOP
切换版块