title: Failed to resolve: com.android.support:support-compat:27.2.0
body: <p>I have a problem in the dependencies in my App gradle :</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 27
  defaultConfig {
      applicationId "fr.android.MyApp"
      minSdkVersion 16
      targetSdkVersion 27
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner     "android.support.test.runner.AndroidJUnitRunner"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'),   'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
  implementation fileTree(include: ['*.jar'], dir: 'libs')
  implementation 'com.android.support:appcompat-v7:25.1.1'
  implementation 'com.android.support:animated-vector-drawable:27.1.1'
  implementation 'com.android.support:support-compat:27.2.0'
  implementation 'com.android.support.constraint:constraint-layout:1.1.0'
  implementation 'com.google.firebase:firebase-auth:11.6.0'
  testImplementation 'junit:junit:4.12'
  androidTestImplementation 'com.android.support.test:runner:1.0.2'
  androidTestImplementation 'com.android.support.test.espresso:espresso-   core:3.0.2'
  }
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>The line that get an error is :</p>
  
  <pre><code>implementation 'com.android.support:animated-vector-drawable:27.1.1'
  </code></pre>
  
  <p>It says : Failed to resolve: com.android.support:animated-vector-drawable:27.1.1</p>
  
  <p>And :     </p>
  
  <p><a href="https://i.stack.imgur.com/XvUjx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XvUjx.png" alt="enter image description here"></a></p>
  
  <p>I also get : Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
  It will be removed at the end of 2018.</p>
  
  <p>Here is my build.gradle :</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all   sub-projects/modules.
  
  buildscript {
  
  repositories {
      google()
      jcenter()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:3.1.2'
  
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
      classpath 'com.google.gms:google-services:3.1.1'
        }
     }
  
  allprojects {
  repositories {
      google()
      jcenter()
     }
  }
  
  task clean(type: Delete) {
  delete rootProject.buildDir
  }
  </code></pre>
  
  <p>Any idea on how to fix this ? Thanks in advance.</p>