CameraX : java.lang.IllegalArgumentException: No display can be found from the input display manager
The camera function is called in the background service, and the camera function does not require preview, so the corresponding function is not added during configuration. This problem occurred and the camera function cannot be used normally.