duplicate entry: com/google/android/gms/common/api/zza.class
See original GitHub issueI’m getting this error when I link the dependency:
Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/common/api/zza.class
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
com/google/android/gms/common/api/zze.class - Stack Overflow
In my project, there are some duplicate files in different jars or libs, ... "com/google/android/gms/common/api/zze.class" or whole jar.
Read more >Duplicate class com google android gms internal ... - YouTube
Duplicate class com. google. android. gms.internal.measurement.zzhx found in modules jetified-play-services-measurement-base-20.1.2-runtime ...
Read more >Duplicate class com.google.android.gms.location ... - YouTube
GooglePlayService# Duplicate #classFix Google Play Service Error | Duplicate class com. google. android. gms.location.places. zza foundHello guys ...
Read more >Android Multiple dex files define Lcom/google/android/gms/common ...
Android – error duplicate entry: com/google/android/gms/common/api/zze.class. All the Firebase libraries must be the same version. Use version 10.0.0 ...
Read more >Firebase gives error for duplicate classes with Marketing ...
RuntimeException: Duplicate class com.google.android.gms.internal.firebase_messaging.zza found in modules jetified-firebase-iid-20.1.5-runtime.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@luisfpinto I’m getting this error now, so how did you solve this?
Just spent some time to make things work Orz… I found that “duplicate entry” is because I have
compile 'com.google.android.gms:play-services-auth:9.4.0'
in my dependencies. And after I update play-services-auth to 10.0.1, problem solved.In my case there was a library that I used in my project. this library also use google play services dependencies so Igot the error of duplicated entity. ///////// I solve it by adding exclude to the library like this compile (‘com.github.ar-android:DrawRouteMaps:1.0.0’){ transitive = true exclude group: ‘com.google.android.gms’ } hope this helpful for you