title: Flutter) Android Setting Error " error: unexpected element <provider> found in <manifest>. "
body: <p>I'm going to use flutter_downloader to download the file.
  For that, AndroidManifest.xml added the following code as instructed.</p>
  <pre><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      package=&quot;com......&quot;&gt;
      &lt;!-- flutter_downloader --&gt;
      &lt;provider
      android:name=&quot;vn.hunghd.flutterdownloader.DownloadedFileProvider&quot;
      android:authorities=&quot;${applicationId}.flutter_downloader.provider&quot;
      android:exported=&quot;false&quot;
      android:grantUriPermissions=&quot;true&quot;&gt;
      &lt;meta-data
          android:name=&quot;android.support.FILE_PROVIDER_PATHS&quot;
          android:resource=&quot;@xml/provider_paths&quot;/&gt;
      &lt;/provider&gt;
  
      &lt;/application&gt;
      .
      . 
      .
      .
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  <p><a href="https://pub.dev/packages/flutter_downloader" rel="nofollow noreferrer">https://pub.dev/packages/flutter_downloader</a>
  This official site tells you to insert the following code into AndroidManifest.xml for Android use: provider ... /provider
  However, after doing this, the following error is printed when building.</p>
  <pre><code>FAILURE: Build failed with an exception.
      * What went wrong:
      Execution failed for task ':app:processDebugResources'.
      &gt; A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
         &gt; Android resource linking failed
           /Users/home_1/Desktop/Projects/code/app/matching_project_rev2/build/app/intermediates/packaged_manifests/debug/AndroidManifest.xml:16: AAPT: error: unexpected element &lt;provider&gt; found in &lt;manifest&gt;.
  </code></pre>
  <p>Is there a wrong location to add the code?</p>