duplicate class error after adding Firebase Analytics
Android, AGP 8.5, Kotlin 2.0. Added firebase-analytics 22.1.0 and now build fails: Duplicate class com.google.android.gms.internal.measurement.zzdf found in modules jetified-play-services-measurement-21.0.0-runtime and jetified-firebase-analytics-22.1.0-runtime. I use the BoM (firebase-bom 33.1.0). I thought the BoM aligned all versions. What is pulling the old play-services 21.0.0? I have been staring at this for two hours and the BoM is supposed to prevent exactly this. Something is clearly overriding it and I cannot see what.
4 replies