Do you know that your Camera2api is enabled?Thanks @Il_Gary for the help.
The error that gives me when I open the application is it gives me the error "unable to connect with the camera", then black screen and the application closes and I do not reopen it anymore.
I installed gcamator from play store but it tells me that "google camera for your device was not found. you can press button below to send us request gcam for your device. you will get notification about it" I make the request but I do not answer anything. how should i do?