"ZipException: duplicate entry" when integrating Firebase
<p>The title says it all, I am trying to integrate firebase-ads into my application, which brought so many problems with it, some of which I managed to resolve. The problem I am facing now is an error that looks like this:</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/zzqq$zza.class</p>
</blockquote>

<p>This Error occurs only when Firebase is added. </p>

<p>I have been searching the internet for quite a while now, but everything that I found so far doesn't seem to help.</p>

<p>My <strong>Module:app</strong></p>

<pre><code>apply plugin: 'com.android.application'


android {
    compileSdkVersion 25
    buildToolsVersion '25.0.0'



    defaultConfig {
        applicationId "myID"
        minSdkVersion 16
        targetSdkVersion 25
        multiDexEnabled true
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.facebook.android:facebook-android-sdk:4.8.0'
    compile 'com.android.support:appcompat-v7:25.0.1'
    compile 'com.android.support:design:25.0.1'
    compile 'com.amirarcane.recent-images:recentimages:1.0.0'
    compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.4.1'
    compile 'com.android.support:cardview-v7:25.0.1'
    compile 'com.github.chrisbanes:PhotoView:1.3.0'
    compile "com.daimajia.swipelayout:library:1.2.0@aar"
    compile "com.andkulikov:transitionseverywhere:1.7.0"
    compile 'com.google.firebase:firebase-ads:9.2.1'
}

apply plugin: 'com.google.gms.google-services'
</code></pre>

<p>Thank you in advance!</p>