android.hardware.camera2.CameraAccessException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Camera not re initialize second time in 5.1.1
    via Stack Overflow by Aerrow
    ,
  • Crashes when stopping repeating
    via GitHub by ozturksafa
    ,
  • GitHub comment 5#92084569
    via GitHub by madhavajay
    ,
  • GitHub comment 10#212251985
    via GitHub by shanuka
    ,
    • android.hardware.camera2.CameraAccessException: The camera device has encountered a serious error at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:1478) at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:677) at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:328) at com.test.video.fragments.VideoContentRecording.closePreviewSession(VideoContentRecording.java:871) at com.test.video.fragments.VideoContentRecording.startRecordingVideo(VideoContentRecording.java:812) at com.test.video.fragments.VideoContentRecording.onInfo(VideoContentRecording.java:941) at android.media.MediaRecorder$EventHandler.handleMessage(MediaRecorder.java:1033) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:211) at android.app.ActivityThread.main(ActivityThread.java:5389) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
    No Bugmate found.