Process: com.hbzhou.open.camera, PID: 21958
java.lang.IllegalArgumentException: No supported surface combination is found for camera device - Id : 0. May be attempting to bind too many use cases. Existing surfaces: [] New configs: [androidx.camera.core.impl.PreviewConfig@d5f2dad, androidx.camera.core.impl.ImageCaptureConfig@4c24b71, androidx.camera.core.impl.VideoCaptureConfig@87101d7]
at androidx.camera.lifecycle.LifecycleCameraRepository.bindToLifecycleCamera(LifecycleCameraRepository.java:266)
at androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:424)
at androidx.camera.lifecycle.ProcessCameraProvider.bindToLifecycle(ProcessCameraProvider.java:275)
at androidx.camera.view.CameraXModule.bindToLifecycleAfterViewMeasured(CameraXModule.java:244)
at androidx.camera.view.CameraXModule.bindToLifecycle(CameraXModule.java:154)
at androidx.camera.view.CameraXModule$2.onSuccess(CameraXModule.java:132)
at androidx.camera.view.CameraXModule$2.onSuccess(CameraXModule.java:124)
at androidx.camera.core.impl.utils.futures.Futures$CallbackListener.run(Futures.java:344)
at android.os.Handler.handleCallback(Handler.java:793)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6701)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:249)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)