java.lang.RuntimeException

Camera is being used after Camera.release() was called

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web96

  • Stack trace

    • 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 android.hardware.Camera.takePicture(Camera.java:1468) 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 java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    bayukresnobayukresno
    3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    mrPetmrPet
    27 times, last one
    balajivaishnavbalajivaishnav
    14 times, last one