I was running my flutter and changed some dependencies and gradle. However, I get such error like this.
Below is my build.gradle and errors
I have seen many posts but I do not see any related posts on this error.
I have published my app into IOS but I am trying to convert my flutter app to ANDROID.
It worked to build at first.
However, It wont build now.
buildscript {
ext.kotlin_version = '1.4.32'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Below is error
'''
Launching lib/main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class com.google.android.gms.internal.measurement.zzbj found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbk found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbl found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbm found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbn found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbo found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbp found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbq found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbr found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzbs found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzi found in modules jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzis found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzit found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zziu found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zziv found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zziw found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzix found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zziy found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zziz found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzj found in modules jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2) and jetified-play-services-measurement-sdk-api-18.0.3-runtime (com.google.android.gms:play-services-measurement-sdk-api:18.0.3)
Duplicate class com.google.android.gms.internal.measurement.zzja found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjb found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjc found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjd found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzje found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjf found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjg found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjh found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzji found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjj found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjk found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjl found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjm found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjn found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjo found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjp found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjq found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjr found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjs found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjt found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzju found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjv found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjw found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjx found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjy found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzjz found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzka found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkb found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkc found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkd found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzke found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkf found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkg found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkh found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzki found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkj found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkk found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkl found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.internal.measurement.zzkm found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.measurement.internal.zzfh found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgl found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgm found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgn found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgo found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgp found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgq found in modules jetified-play-services-measurement-17.2.2-runtime (com.google.android.gms:play-services-measurement:17.2.2) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzhs found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Duplicate class com.google.android.gms.measurement.internal.zzhx found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-17.2.2-runtime (com.google.android.gms:play-services-measurement-impl:17.2.2)
Go to the documentation to learn how to Fix dependency resolution errors.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
Exception: Gradle task assembleDebug failed with exit code 1
'''
Make your project/build.gradle file structure like this :
buildscript {
ext.kotlin_version = "1.4.32"
ext.hilt_version = '2.40'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10'
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath 'com.google.gms:google-services:4.3.10'
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Related
After running a macOS Monterey 12.3 update I got the following error message in Android Studio Bumble Bee 2021.1.1 Patch 2 in the Build Output file:
'''
Duplicate class androidx.databinding.Bindable found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.BindingAdapter found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.BindingBuildInfo found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.BindingConversion found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.BindingMethod found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.BindingMethods found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.CallbackRegistry found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.CallbackRegistry$NotifierCallback found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.InverseBindingAdapter found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.InverseBindingListener found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.InverseBindingMethod found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.InverseBindingMethods found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.InverseMethod found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.Observable found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.Observable$OnPropertyChangedCallback found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.ObservableList found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.ObservableList$OnListChangedCallback found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.ObservableMap found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.ObservableMap$OnMapChangedCallback found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
Duplicate class androidx.databinding.Untaggable found in modules databinding-common-7.1.2 (androidx.databinding:databinding-common:7.1.2) and jetified-baseLibrary-3.2.0-alpha11 (androidx.databinding:baseLibrary:3.2.0-alpha11)
'''
I have checked the Android Developer site but there was no solution. Any tips or tricks to resolve the issue would be much appreciated.
While updating my app to the latest library versions, I have encountered the following issue:
Duplicate class com.google.android.gms.internal.measurement.zzfu found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzfv found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzfw found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzfx found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzfy found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzfz found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzq found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzs found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.measurement.internal.zzfh found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.measurement.internal.zzgl found in modules jetified-play-services-measurement-18.0.0-runtime (com.google.android.gms:play-services-measurement:18.0.0) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgm found in modules jetified-play-services-measurement-18.0.0-runtime (com.google.android.gms:play-services-measurement:18.0.0) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgn found in modules jetified-play-services-measurement-18.0.0-runtime (com.google.android.gms:play-services-measurement:18.0.0) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgo found in modules jetified-play-services-measurement-18.0.0-runtime (com.google.android.gms:play-services-measurement:18.0.0) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgp found in modules jetified-play-services-measurement-18.0.0-runtime (com.google.android.gms:play-services-measurement:18.0.0) and jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3)
Duplicate class com.google.android.gms.measurement.internal.zzgq found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.measurement.internal.zzhs found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Duplicate class com.google.android.gms.measurement.internal.zzhx found in modules jetified-play-services-measurement-base-18.0.3-runtime (com.google.android.gms:play-services-measurement-base:18.0.3) and jetified-play-services-measurement-impl-18.0.0-runtime (com.google.android.gms:play-services-measurement-impl:18.0.0)
Go to the documentation to learn how to Fix dependency resolution errors.
After checking the dependencies, I was able to fix the build errors using the following in my build.gradle file:
resolutionStrategy {
force("com.google.android.gms:play-services-measurement-base:18.0.0")
force("com.google.android.gms:play-services-measurement-sdk-api:18.0.0")
}
Although the app builds fine and ads are showing, I am worried that overriding the the default dependency versions for google play ads library will cause some issue with impression tracking, etc.
Is there any official solution here? I need analytics and ads. Is there something I'm missing here?
Thanks!
Duplicate class javax.annotation.Generated found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.PostConstruct found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.PreDestroy found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.Resource found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.Resource$AuthenticationType found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.Resources found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.security.DeclareRoles found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.security.DenyAll found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.security.PermitAll found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.security.RolesAllowed found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
Duplicate class javax.annotation.security.RunAs found in modules jetified-javax.annotation-api-1.3.2.jar (javax.annotation:javax.annotation-api:1.3.2) and jetified-jsr250-api-1.0.jar (javax.annotation:jsr250-api:1.0)
//Libraries
// implementation platform('com.google.cloud:libraries-bom:20.8.0')
// compile ('com.google.cloud:google-cloud-speech')
Following is the error when I try to execute the app, I have tried different methods but nothing working out. Updated flutter, updated the Gradle version to the latest that is 4.1.3 and google service version too that is 4.3.8.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class com.google.android.gms.internal.measurement.zzu found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-sdk-api-17.0.0-runtime (com.google.android.gms:play-services-measurement-sdk-api:17.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzv found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-sdk-api-17.0.0-runtime (com.google.android.gms:play-services-measurement-sdk-api:17.0.0)
Duplicate class com.google.android.gms.internal.measurement.zzw found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-base-17.0.0-runtime (com.google.android.gms:play-services-measurement-base:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurement found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurement$ConditionalUserProperty found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurement$Event found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurement$EventInterceptor found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurement$OnEventListener found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurement$Param found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurement$UserProperty found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurementContentProvider found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.internal.zza found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.internal.zzaa found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2) and jetified-play-services-measurement-impl-17.0.0-runtime (com.google.android.gms:play-services-measurement-impl:17.0.0)
Duplicate class com.google.android.gms.measurement.internal.zzab found in modules jetified-firebase-analytics-impl-16.2.2-runtime (com.google.firebase:firebase-analytics-impl:16.2.2
build.gradle:
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.8'
}
}
2)app/build.gradle
defaultConfig {
applicationId "appid.com"
minSdkVersion 21
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
apply plugin: 'com.google.gms.google-services'
I'm working on incorporating some beacon technology SDKs in our React Native app, and I'm running into some build issues as I do so. They seem unrelated, so I'm confused as to what brought these issues up.
Below is the error spit out from Android Studio during an attempted build and install on a real device:
Duplicate class com.google.android.gms.internal.vision.zzbl found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzbn found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzbo found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzbp found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzbr found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zze 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-services-vision-common:19.1.0) Duplicate class com.google.android.gms.internal.vision.zzf 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-services-vision-common:19.1.0) Duplicate class com.google.android.gms.internal.vision.zzg 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-services-vision-common:19.1.0) Duplicate class com.google.android.gms.internal.vision.zzh 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-services-vision-common:19.1.0) Duplicate class com.google.android.gms.internal.vision.zzi 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-services-vision-common:19.1.0) Duplicate class com.google.android.gms.internal.vision.zzkf found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzkh found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzki found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzkj found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) Duplicate class com.google.android.gms.internal.vision.zzkl found in modules jetified-play-services-vision-common-19.1.0-runtime.jar (com.google.android.gms:play-services-vision-common:19.1.0) and jetified-play-services-vision-face-contour-internal-16.0.0-runtime.jar (com.google.android.gms:play-services-vision-face-contour-internal:16.0.0) 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-services-vision-common:19.1.0) Duplicate class com.google.android.gms.internal.vision.zzw 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-services-vision-common:19.1.0)
I've seen this fix: How to solve this error : Duplicate class com.google.android.gms.internal.vision.zzw found in modules but this did not resolve my issues.
If needed, I can include my build.gradle versions but I thought this block of text was already too massive.