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

华为 nova 3e,打开拍照界面,黑屏+闪退 #31

Open
yueye410 opened this issue Jul 30, 2020 · 3 comments
Open

华为 nova 3e,打开拍照界面,黑屏+闪退 #31

yueye410 opened this issue Jul 30, 2020 · 3 comments

Comments

@yueye410
Copy link

java.lang.RuntimeException: Camera is being used after Camera.release() was called
at android.hardware.Camera.setHasPreviewCallback(Native Method)
at android.hardware.Camera.setOneShotPreviewCallback(Camera.java:967)
at com.wildma.idcardcamera.camera.CameraActivity.d(CameraActivity.java:201)
at com.wildma.idcardcamera.camera.CameraActivity.onClick(CameraActivity.java:176)
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)

@DevYJQ
Copy link

DevYJQ commented Nov 7, 2020

三星Note 20 也会出现这个问题

@deboLing
Copy link

vivo也出现,Camera is being used after Camera.release() was called

@kimiangel
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

4 participants