java.lang.RuntimeException: Camera is being used after Camera.release() was called

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Ayusch
, 9 months ago
Camera is being used after Camera.release() was called
via Stack Overflow by kdhuang
, 2 years ago
Method called after release()
via Stack Overflow by DAVIDBALAS1
, 1 year ago
Camera is being used after Camera.release() was called
via Stack Overflow by mohan
, 2 years ago
Method called after release()
java.lang.RuntimeException: Camera is being used after Camera.release() was called
at android.hardware.Camera.native_takePicture(Native Method)
at android.hardware.Camera.takePicture(Camera.java:1523)
at com.example.ayusch.medomo.UploadPrescription$1.onClick(UploadPrescription.java:73)
at android.view.View.performClick(View.java:5714)
at android.widget.TextView.performClick(TextView.java:10926)
at android.view.View$PerformClick.run(View.java:22589)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7325)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
27 times, 1 year ago
14 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.