Unity Build Error Duplicate class,Unity Build Error duplicate class
Hello Everybody OneDrive delete my project and I download project from OneDrive again but I've encountered a lot of errors like that
Duplicate class com.google.android.gms.auth.api.credentials.zzk found in the following modules: classes.jar (:com.google.android.gms.play-services-auth-16.0.1 1:), classes.jar (:com.google.android.gms.play-services-auth-16.0.1 2:), classes.jar (:com.google.android.gms.play-services-auth-16.0.1 3:) and classes.jar (:com.google.android.gms.play-services-auth-16.0.1:) Duplicate class com.google.android.gms.auth.api.accounttransfer.zzf found in the following modules: classes.jar (:com.google.android.gms.play-services-auth-base-16.0.0 1:), classes.jar (:com.google.android.gms.play-services-auth-base-16.0.0 2:), classes.jar (:com.google.android.gms.play-services-auth-base-16.0.0 3:) and classes.jar (:com.google.android.gms.play-services-auth-base-16.0.0:)
Duplicate class com.google.android.gms.ads.rewarded.zzb found in modules classes.jar (:com.google.android.gms.play-services-ads-lite-18.1.1 1:) and classes.jar (:com.google.android.gms.play-services-ads-lite-18.1.1:)
Duplicate class com.google.android.gms.ads.mediation.MediationNativeAdCallback found in modules classes.jar (:com.google.android.gms.play-services-ads-lite-18.1.1 1:) and classes.jar (:com.google.android.gms.play-services-ads-lite-18.1.1:)
It gives me 6708 error :((
,I can not build my app . I get errors like that Duplicate class com.google.android.gms.ads.internal.zzf found in modules classes.jar (:com.google.android.gms.play-services-ads-18.1.1 1:) and classes.jar (:com.google.android.gms.play-services-ads-18.1.1:) Duplicate class com.google.android.gms.ads.internal.ClientApi found in modules classes.jar (:com.google.android.gms.play-services-ads-18.1.1 1:) and classes.jar (:com.google.android.gms.play-services-ads-18.1.1:) Duplicate class com.google.android.gms.ads.search.SearchAdRequest found in modules classes.jar (:com.google.android.gms.play-services-ads-lite-18.1.1 1:) and classes.jar (:com.google.android.gms.play-services-ads-lite-18.1.1:) Duplicate class com.google.android.gms.auth.api.credentials.zzk found in the following modules: classes.jar (:com.google.android.gms.play-services-auth-16.0.1 1:), classes.jar (:com.google.android.gms.play-services-auth-16.0.1 2:), classes.jar (:com.google.android.gms.play-services-auth-16.0.1 3:) and classes.jar (:com.google.android.gms.play-services-auth-16.0.1:) ı get 6708 error
One Drive delete my project and ı download it from OneDrive again but I've encountered a lot of errors.
Answer by abssuper20 · Nov 14, 2019 at 07:35 AM
Change your gradle plugin version in the your build.gradle file. You might need to keep playing around with the version number till you get it right. At least that's how it worked for me.
Answer by codemaker2015 · Jul 20, 2020 at 02:13 PM
You might be imported more than one library in the android plugins folder. Keep one then it will resolve the issue
Your answer
Follow this Question
Related Questions
HELPPPPP Please :( CommandInvolkationFailure 0 Answers
how to automatic add numbers in text after the slider finished? 0 Answers
How to Remove the black bar at my game window? 0 Answers
Trying to build in android but, missing architecture??? Cannot upload to PlayStore without it 0 Answers
Empty Game Window 2 Answers