title: Duplicate jar entry when using firebase-analytics:16.0.5
body: <p><strong>officially fixed in ads 17.1.1 (developers.google.com/android/guides/releases)</strong> </p>
  
  <hr>
  
  <p>After updating the version of firebase-analytics from 16.0.4 to 16.0.5
  The project failed to build release aab/apk, with error message <code>Duplicate jar entry [com/google/android/gms/internal/measurement/zzdz.class]</code></p>
  
  <p>Android Studio 3.2.1</p>
  
  <p>app's build.gradle</p>
  
  <pre><code>    implementation 'com.google.firebase:firebase-core:16.0.5'
      implementation 'com.google.firebase:firebase-analytics:16.0.5'
      implementation 'com.google.firebase:firebase-ads:17.1.0'
      implementation 'com.google.firebase:firebase-perf:16.2.0'
      implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'
  </code></pre>
  
  <p>Project build.gradle</p>
  
  <pre><code>    dependencies {
          classpath 'com.android.tools.build:gradle:3.2.1'
          classpath 'com.google.gms:google-services:4.2.0' // google-services plugin
          classpath 'com.google.firebase:firebase-plugins:1.1.5'
          classpath 'io.fabric.tools:gradle:1.26.1'
      }
  </code></pre>
  
  <p>Error</p>
  
  <pre><code>Caused by: java.io.IOException: Can't write [MASKED\app\build\intermediates\transforms\proguard\release\0.jar] (Can't read [MASKED\app\build\intermediates\transforms\FirebasePerformancePlugin\release\21(;;;;;;;**.class)] (Can't read [com] (Can't read [google] (Can't read [android] (Can't read [gms] (Can't read [internal] (Can't read [measurement] (Can't read [zzdz.class] (Duplicate jar entry [com/google/android/gms/internal/measurement/zzdz.class])))))))))    at proguard.OutputWriter.writeOutput(OutputWriter.java:202)     at proguard.OutputWriter.execute(OutputWriter.java:89)  at proguard.ProGuard.writeOutput(ProGuard.java:515)     at proguard.ProGuard.execute(ProGuard.java:210)     at com.android.build.gradle.internal.transforms.BaseProguardAction.runProguard(BaseProguardAction.java:64)  at com.android.build.gradle.internal.transforms.ProGuardTransform.doMinification(ProGuardTransform.java:262)    at com.android.build.gradle.internal.transforms.ProGuardTransform.access$000(ProGuardTransform.java:65)     at com.android.build.gradle.internal.transforms.ProGuardTransform$1.run(ProGuardTransform.java:176)     at com.android.builder.tasks.Job.runTask(Job.java:47)   at com.android.build.gradle.tasks.SimpleWorkQueue$EmptyThreadContext.runTask(SimpleWorkQueue.java:41)   at com.android.builder.tasks.WorkQueue.run(WorkQueue.java:282)  ... 1 more
  </code></pre>
  
  <p>Any workaround before they release a fix?</p>