title: Multiple dex files define Lcom/google/firebase/FirebaseException
body: <p>I encountered a problem with the Firebase integration. First of all, I have added rules to the root-level <code>build.gradle</code> file:</p>
  
  <pre><code>buildscript {
      repositories {
          maven { url "http://dl.bintray.com/populov/maven" }
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.1.2'
          classpath 'com.google.gms:google-services:3.0.0'
      }
  }
  
  allprojects {
      repositories {
          maven { url "http://dl.bintray.com/populov/maven" }
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>And the module Gradle file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 24
      buildToolsVersion "24"
  
      defaultConfig {
          applicationId "com.example.app"
          minSdkVersion 14
          targetSdkVersion 24
          versionCode 2
          versionName "0.9"
      }
      buildTypes {
         ///
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.google.firebase:firebase-core:9.0.2'
      compile 'com.google.firebase:firebase-crash:9.0.2'
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>During the build of the project, I get the error:</p>
  
  <blockquote>
    <p>Error:Error converting bytecode to dex: Cause:
    com.android.dex.DexException: Multiple dex files define
    Lcom/google/firebase/FirebaseException;</p>
  </blockquote>
  
  <p>Error reason is clear, but I didn't compile any library twice. Should I exclude <code>FirebaseException</code> class from the build process manually? If so, how? Perhaps this is a bug within the Firebase dependencies?</p>
  
  <p>Thanks.</p>