cameraview-ex icon indicating copy to clipboard operation
cameraview-ex copied to clipboard

Android 11 and 12 I'm facing some issue

Open Bhagirath987 opened this issue 2 years ago • 2 comments

I have oneplus nord ce2 device with android 11 version

I have tried to implement this library but when I start app it is showing only white screen

  • Device: Oneplus nord ce2
  • OS: Android 11

Also I have tried with emulator with android 12

In emulator I'm getting this error while capturing image

2022-03-24 16:19:36.598 10182-10374/com.pathquestap E/CameraCaptureSession: Session 0: Exception while stopping repeating: android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2350) at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:1277) at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:579) at android.hardware.camera2.impl.CameraCaptureSessionImpl$2.onDisconnected(CameraCaptureSessionImpl.java:790) at android.hardware.camera2.impl.CameraDeviceImpl$7.run(CameraDeviceImpl.java:259) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:201) at android.os.Looper.loop(Looper.java:288) at android.os.HandlerThread.run(HandlerThread.java:67)

Untitled Screenshot 2022-03-24 162628

Bhagirath987 avatar Mar 24 '22 10:03 Bhagirath987

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 27 '22 19:04 stale[bot]

I'm having the same issue, what fix can be applied?

luissantiagodev avatar Jun 09 '22 14:06 luissantiagodev