title: android:Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'
body: <p>After updating android studio and several dependencies i now get this error message</p>
  
  <blockquote>
    <p>Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
    com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzeg.class</p>
  </blockquote>
  
  <p>this is my gradle file
  apply plugin: 'com.android.application'</p>
  
  <pre><code>apply plugin: 'io.fabric'
  
  repositories {
      maven { url 'https://maven.fabric.io/public' }
  }
  
  apply plugin: 'com.google.firebase.firebase-perf'
  
  
  
  android {
      compileSdkVersion 26
      buildToolsVersion "25.0.2"
      defaultConfig {
          applicationId "REMOVED_FOR_PRIVACY"
          minSdkVersion 16
          targetSdkVersion 25
          versionCode 1
          versionName "1.0"
          multiDexEnabled true
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  
      }
      buildTypes {
          release {
              minifyEnabled false
  
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  buildscript {
      repositories {
          maven { url 'https://maven.fabric.io/public' }
      }
  
      dependencies {
          // These docs use an open ended version so that our plugin
          // can be updated quickly in response to Android tooling updates
  
          // We recommend changing it to the latest version from our changelog:
          // https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
          classpath 'io.fabric.tools:gradle:1.+'
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
  
      // compile 'com.firebaseui:firebase-ui:1.2.0'
  
      compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
          transitive = true;
      }
  
  
  
  
  
  
      compile 'com.android.support:appcompat-v7:26.0.2'
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      compile 'com.android.support:mediarouter-v7:26.0.2'
      compile 'com.google.android.gms:play-services-location:11.2.0'
      compile 'com.google.firebase:firebase-core:11.2.0'
      compile 'com.google.firebase:firebase-crash:11.2.0'
      compile 'com.google.firebase:firebase-auth:11.2.0'
      compile 'com.google.firebase:firebase-messaging:11.2.0'
      compile 'com.google.firebase:firebase-database:11.2.0'
      compile 'com.google.firebase:firebase-perf:11.2.0'
      compile 'com.firebaseui:firebase-ui-auth:2.0.1'
      compile 'com.facebook.android:facebook-android-sdk:[4,5)'
      compile 'com.android.support:design:26.0.2'
      compile 'com.github.bumptech.glide:glide:4.0.0'
      compile 'com.android.support:support-v4:26.0.2'
      compile 'com.android.support:multidex:1.0.1'
      annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0'
      testCompile 'junit:junit:4.12'
  }
  
  
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>I already tried Cleaning and Rebuilding the project but nothing seems to work</p>