android 身份证识别 偶发性崩溃
minshengyizu 发布于2019-10-16 14:06 浏览:89 回复:2
0
收藏

报错为:E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.minsheng.vehicle, PID: 29857
java.lang.RuntimeException: startPreview failed
at android.hardware.Camera.startPreview(Native Method)
at com.baidu.ocr.ui.camera.Camera1Control.startPreview(Camera1Control.java:407)
at com.baidu.ocr.ui.camera.Camera1Control.access$100(Camera1Control.java:32)
at com.baidu.ocr.ui.camera.Camera1Control$3.onSurfaceTextureSizeChanged(Camera1Control.java:375)
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 com.baidu.ocr.ui.camera.Camera1Control$PreviewView.onLayout(Camera1Control.java:575)
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:487)
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:107)
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:2889)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2416)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1551)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7450)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1092)
at android.view.Choreographer.doCallbacks(Choreographer.java:888)
at android.view.Choreographer.doFrame(Choreographer.java:819)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1078)
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:6815)
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
个赞
共2条回复 最后由minshengyizu回复于2019-10-21 09:45
#3minshengyizu回复于2019-10-21 09:45:52
#2 greeny730回复
您可以在控制台提个工单,会有技术支持的同学来为您进行解答。

我提过,还在qq群里面提过,但是完全没人搭理我。

0
#2greeny730回复于2019-10-18 16:12:57

您可以在控制台提个工单,会有技术支持的同学来为您进行解答。

0
TOP
切换版块