title: How to solve this error : Duplicate class com.google.android.gms.internal.vision.zzw found in modules
body: <blockquote>
  <p>** Duplicate class com.google.android.gms.internal.vision.zzv found in modules jetified-play-services-vision-20.0.0-runtime.jar (com.google.android.gms:play-services-vision:20.0.0) and jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-se**</p>
  </blockquote>
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply plugin: 'com.google.gms.google-services'
  googleServices {disableVersionCheck = true}
  
  android {
      compileSdkVersion 29
  
      defaultConfig {
          applicationId &quot;com.greenhelix.pear&quot;
          minSdkVersion 23
          targetSdkVersion 29
          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'
          }
      }
  }
  
  dependencies {
      implementation fileTree(dir: &quot;libs&quot;, include: [&quot;*.jar&quot;])
      implementation 'androidx.appcompat:appcompat:1.2.0'
      implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
      implementation 'com.google.firebase:firebase-auth:19.4.0'
      implementation 'com.google.firebase:firebase-ml-vision:24.0.3'
  //    implementation 'com.google.firebase:firebase-ml-vision:24.1.0'
  //    implementation 'com.google.firebase:firebase-ml-vision-barcode-model:16.1.1'
      implementation 'com.google.firebase:firebase-core:17.5.1'
      implementation platform('com.google.firebase:firebase-bom:25.12.0')
      implementation 'com.google.firebase:firebase-analytics:17.6.0'
      implementation 'com.google.android.gms:play-services-auth:18.1.0'
      implementation 'com.google.android.gms:play-services-vision:20.1.2'
  
      implementation 'androidx.cardview:cardview:1.0.0'
      implementation 'com.github.bumptech.glide:glide:4.11.0'
      implementation 'androidx.recyclerview:recyclerview:1.1.0'
      implementation 'androidx.recyclerview:recyclerview-selection:1.1.0-rc03'
  
      testImplementation 'junit:junit:4.13.1'
      androidTestImplementation 'androidx.test.ext:junit:1.1.2'
      androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
      implementation 'androidx.core:core-ktx:1.3.2'
      implementation &quot;org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version&quot;
  
  
  }
  repositories {
      mavenCentral()
  }
  </code></pre>