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

Stack Overflow | DAVIDBALAS1 | 5 months ago
  1. 0

    Camera is being used after Camera.release was called android

    Stack Overflow | 5 months ago | DAVIDBALAS1
    java.lang.RuntimeException: Camera is being used after Camera.release() was called
  2. 0

    problem with taking pictures using the android camera

    Stack Overflow | 5 years ago | adrian
    java.lang.RuntimeException: takePicture failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Capture from camera on voice command

    Stack Overflow | 2 years ago | Laxman Spidey
    java.lang.RuntimeException: takePicture failed
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

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

    at android.hardware.Camera.native_takePicture()
  2. Android Platform
    Camera.takePicture
    1. android.hardware.Camera.native_takePicture(Native Method)
    2. android.hardware.Camera.takePicture(Camera.java:1523)
    3. android.hardware.Camera.takePicture(Camera.java:1468)
    3 frames
  3. davidandguy.com.selfielightcamera
    MainActivity$1$1.onFinish
    1. davidandguy.com.selfielightcamera.MainActivity$1$1.onFinish(MainActivity.java:65)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:158)
    4. android.app.ActivityThread.main(ActivityThread.java:7224)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames