Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分机型上出现问题, onResume调用了start() startScan #44

Open
wzsee opened this issue Apr 9, 2020 · 1 comment
Open

部分机型上出现问题, onResume调用了start() startScan #44

wzsee opened this issue Apr 9, 2020 · 1 comment

Comments

@wzsee
Copy link

wzsee commented Apr 9, 2020

java.lang.IllegalStateException: Camera is not ready. Call start() before takePicture().
at com.google.android.cameraview.CameraImpl.takePicture(CameraImpl.java:298)
at com.google.android.cameraview.CameraView.takePicture(CameraView.java:401)
at com.zwys.spfscan.page.ScanCameraActivity.onClick(ScanCameraActivity.java:155)
at com.zwys.spfscan.page.ScanCameraActivity_ViewBinding$2.doClick(ScanCameraActivity_ViewBinding.java:56)
at butterknife.internal.DebouncingOnClickListener.onClick(DebouncingOnClickListener.java:18)
at android.view.View.performClick(View.java:6659)
at android.view.View.performClickInternal(View.java:6631)
at android.view.View.access$3100(View.java:790)
at android.view.View$PerformClick.run(View.java:26187)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)

@qq724418408
Copy link

是什么机型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants