title: Android Gradle Sync "Tag Mismatch!" error
body: <p>From past 3 days i'm unable to resolve Android Gradle Sync &quot;Tag Mismatch!&quot; error. I looked and searched for many solutions but none gave positive output.
  I also reinstalled my android studio and re-downloaded SDKs as well but all in vein.</p>
  <p>If anyone knows how to fix this error, do let me know</p>
  <p>ps, I have attached the image of the picture below and i'm using Android Studio 4.1.3 version</p>
  <p>Gradle Sync tag Mismatch Error</p>
  <p><a href="https://i.stack.imgur.com/485pe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/485pe.png" alt="enter image description here" /></a></p>
  <p><strong>Build.gradle (app)</strong></p>
  <pre><code>plugins {
  id 'com.android.application'
  id 'kotlin-android'
  }
  
  android {
      compileSdkVersion 30
      buildToolsVersion &quot;30.0.3&quot;
  
  defaultConfig {
      applicationId &quot;com.example.testsample&quot;
      minSdkVersion 16
      targetSdkVersion 30
      versionCode 1
      versionName &quot;1.0&quot;
  
      testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
  }
  
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
      }
  }
  compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
      }
      kotlinOptions {
          jvmTarget = '1.8'
      }
  
  dependencies {
  
      implementation &quot;org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version&quot;
      implementation 'androidx.core:core-ktx:1.2.0'
      implementation 'androidx.appcompat:appcompat:1.1.0'
      implementation 'com.google.android.material:material:1.1.0'
      implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
      testImplementation 'junit:junit:4.+'
      androidTestImplementation 'androidx.test.ext:junit:1.1.1'
      androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  }
  </code></pre>
  <p><strong>Build.gradle (project)</strong></p>
  <pre><code>    // Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      ext.kotlin_version = &quot;1.3.72&quot;
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath &quot;com.android.tools.build:gradle:4.1.3&quot;
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>