title: Android Studio, Element path must be declared for FileProvider
body: <p>I rerally didn't want to ask this question, but I couldn't find any solutions.</p>
  
  <p>In my manifest I have declared FileProvider:</p>
  
  <pre><code>&lt;provider android:name="android.support.v4.content.FileProvider"
      android:authorities="com.example.provider"
      android:exported="false"
      android:grantUriPermissions="true"&gt;
      &lt;meta-data android:name="android.support.FILE_PROVIDER_PATHS"
          android:resource="@xml/provider_paths"/&gt;
  &lt;/provider&gt;
  </code></pre>
  
  <p>It requires <code>@xml/provider_paths</code> to work. In my resources folder I have created <code>provider_paths.xml</code> file and copy-pasted this code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;paths&gt;
      &lt;external-path name="files" path="."/&gt;
  &lt;/paths&gt;
  </code></pre>
  
  <p>However Android Studio IDE throws me that kind of error:</p>
  
  <pre><code>Element paths must be declared
  </code></pre>
  
  <p>My screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/JNdmb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JNdmb.png" alt="screenshot"></a></p>