I am getting this error java.lang.IllegalArgumentException – Provided camera selector unable to resolve a camera for the given use case
I am attaching the code below. I am inverting an camera on click of a button starting the camera on view created of an fragment and click image on click of a button.