title: Failed To Resolve: com.google.firebase:firebase-firestore:11.4.2
body: <p>I'm trying to implement the new Firestore database in a project that already uses Firebase features, including Realtime Database - which I want to "upgrade". </p>
  
  <p>I'm working according to <a href="https://firebase.google.com/docs/firestore/quickstart" rel="noreferrer">this</a> guide, but I'm getting stuck at compiling the Firestore library. </p>
  
  <p><strong>This is my current project gradle:</strong></p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
  
          maven {
              url 'https://maven.google.com'
          }
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.3.3'
          classpath 'com.google.gms:google-services:3.1.0'
  
  
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p><strong>This is my current app gradle:</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 25
      buildToolsVersion "25.0.2"
      defaultConfig {
          applicationId "com.tal.wikirace"
          minSdkVersion 23
          targetSdkVersion 25
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      productFlavors {
      }
  }
  
  configurations {
      compile.exclude group: "org.apache.httpcomponents", module: "httpclient"
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
  
  
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      compile 'com.android.support.constraint:constraint-layout:1.0.2'
      compile 'com.google.api-client:google-api-client:1.22.0'
      compile'com.google.api-client:google-api-client-android:1.22.0'
      compile  'com.android.support:appcompat-v7:25.3.1'
      compile 'com.android.volley:volley:1.0.0'
      compile 'com.google.code.gson:gson:2.7'
      compile 'com.google.code.findbugs:jsr305:2.0.1'
      compile 'com.google.http-client:google-http-client:1.18.0-rc'
      compile 'com.android.support:design:25.3.1'
  
      compile 'com.google.android.gms:play-services-auth:11.4.2'
      compile 'com.google.firebase:firebase-auth:11.4.2'
      compile 'com.google.firebase:firebase-database:11.4.2'
      compile 'com.google.firebase:firebase-messaging:11.4.2'
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>The project works fine, but when I try to add this line:</p>
  
  <pre><code>compile 'com.google.firebase:firebase-firestore:11.4.2'
  </code></pre>
  
  <p>I get this message:</p>
  
  <pre><code>Failed To Resolve: com.google.firebase:firebase-firestore:11.4.2
  </code></pre>
  
  <p>I have updated <code>Android SDK Build-Tools</code>, <code>Google Play-Services</code> and <code>Support Repository</code>, but it didn't help. </p>
  
  <p>How can I fix this?  </p>