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 davidandguy.com.selfielightcamera.MainActivity$1$1.onFinish(MainActivity.java:65) at android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7224) 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