For some reason Android Studio doesn't find the new camera library: android.hardware.camera2
Do you have any suggestions? The code looks like this:

This is because you camera2 is package name not class name
see this link
You must call import android.hardware.camera2.*; to import all calss from camera2 Api
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With