Hello, currently I'm developing a feature for Scan QR Code that use CameraX library and MLkit (Barcode Scanning). But I notice I keep getting this error on some devices (low and higend) and it happens intermittently :
Fatal Exception: java.lang.IllegalStateException
The selected camera does not support the enabled use cases. Please disable use case and/or select a different camera. e.g. #setVideoCaptureEnabled(false)
Anyway I'm using cameraX library 1.2.0 with CameraController since I don't need advance usage of the camera (basically the feature just scan qr).
Does anyone ever encounter this issue? If so how do you fix this?