The application runs but when i try to use the camera only a disturbed grey screen appears and the logs tab gives me two errors:
E/libc: Access denied findin
If you are using a firebase plugin in your project, remove it. I was using the firebase crashlytics that camera prevents opening.