TAKE A PHOTO WITH CAMERA IN KOTLIN SETTING Step-1 Create provider_paths.xml in res/xml folder and write below code in it. <?xml version="1.0" encoding="utf-8"?> <paths xmlns:android="http://schemas.android.com/apk/res/android">