title: BUILD FAILED in 6s Exception: Gradle task assembleDebug failed with exit code 1
body: <p><strong>When I am trying to run my flutter app in Android emulator it throws this exception:</strong></p>
  <pre><code>Launching lib/main.dart on sdk gphone x86 in debug mode...
  lib/main.dart:1
  
  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/divyesh12/Documents/Development /GitRepos/Shopapp_flutter/myshop_app/build/app/intermediates/packaged_manifests/debug/AndroidManifest.xml:23: AAPT: error: unexpected element &lt;uses-permission&gt; found in &lt;manifest&gt;&lt;application&gt;.
  </code></pre>
  <p>flutter doctor result:</p>
  <pre class="lang-css prettyprint-override"><code>Doctor summary (to see all details, run flutter doctor -v):
  [✓] Flutter (Channel stable, 2.0.6, on Mac OS X 10.15.6 19G73 darwin-x64, locale en-IN)
  [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
  [✓] Xcode - develop for iOS and macOS
  [✓] Chrome - develop for the web
  [✓] Android Studio (version 4.1)
  [✓] VS Code (version 1.57.1)
  [✓] Connected device (2 available)
  • No issues found!
  </code></pre>
  <p><strong>AndroidManifest.xml</strong></p>
  <pre class="lang-cs prettyprint-override"><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      package=&quot;com.example.myste_app&quot;&gt;
      &lt;!-- Flutter needs it to communicate with the running application
           to allow setting breakpoints, to provide hot reload, etc.
      --&gt;
      &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot;/&gt;
  &lt;/manifest&gt;
  
  </code></pre>
  <p><strong>Note: It works fine in iOS, how to fix this?</strong></p>