I have the following line in my CameraXFragment and Android Studio is showing me an error:
CameraXFragment
videoCapture = VideoCaptureConfig.Builder() // <