title: Unity3D - Error: The minSdk version can not be specified in the AndroidManifest.xml file. You have to remove it
body: <p><strong><strong>Build Error appears in Pop Up.</strong></strong></p>
  <pre><code>Gradle Error: MinSDK in Manifest
  
  The minSdk version can not be specified in the AndroidManifest.xml file. You have to remove it.
  (See the Console for details)
  
  </code></pre>
  <p><strong>Build Errors appear in console</strong></p>
  <pre><code>&gt; Configure project :launcher
  WARNING: The option 'android.enableR8' is deprecated and should not be used anymore.
  It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8.
  
  
  
  Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':launcher:lintVitalRelease'.
  
  
  
  UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002be] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190 
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95 
  UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&amp;) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
  </code></pre>
  <p><strong>Picture of some errors I couldn't copy.</strong>
  <a href="https://i.stack.imgur.com/PfqRN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PfqRN.png" alt="Console errors, click to view" /></a></p>
  <p><strong>in essence:</strong>
  I have tried reinstalling/Updating JAVA.
  I have tried removing <code>minsdk</code> line from <code>AndroidManifext.xml</code>
  I have tried all possible solutions available on internet but remained with same error.
  Please Help to resolve this I want the build.</p>
  <p><strong>AndroidManifest.xml File</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  
  &lt;!--
     WARNING: Do NOT modify! Generated file.
  --&gt;
  
  &lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      package=&quot;__AndroidManifest_Package__&quot;
      android:versionCode=&quot;__AndroidManifest_VersionCode__&quot;
      android:versionName=&quot;__AndroidManifest_VersionName__&quot;&gt;
      
      &lt;uses-sdk 
     
          android:targetSdkVersion=&quot;__AndroidManifest_TargetSdkVersion__&quot;/&gt;
  
  &lt;/manifest&gt;
  
  </code></pre>