Skip to content Skip to sidebar Skip to footer

Getting Illegalargumentexception While Capturing Photo From Camera

In my project I am using FileProvider.getUriForFile with given provider_paths.xml file: Copy

This configuration is for files stored under getExternalFilesDir(). That is not where your files are stored, based on your error. Change this to:

<paths>
  <external-path name="StrengGeheim" path="."/>
</paths>

Post a Comment for "Getting Illegalargumentexception While Capturing Photo From Camera"