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

There is a runtimeException #38

Open
JIAOJUNFENG1994 opened this issue Nov 3, 2021 · 0 comments
Open

There is a runtimeException #38

JIAOJUNFENG1994 opened this issue Nov 3, 2021 · 0 comments

Comments

@JIAOJUNFENG1994
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.takePhoto(CameraActivity.java:2)
at com.wildma.idcardcamera.camera.CameraActivity.onClick(CameraActivity.java:8)

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

1 participant