title: Could not resolve android.arch.lifecycle:extensions:1.1.0
body: <p>I am trying to add <code>lifecycle:extensions</code> to my project but i can not make it work . Each time it shows error .</p>
  
  <blockquote>
    <p>Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve android.arch.lifecycle:extensions:1.1.0.</p>
  </blockquote>
  
  <p>I have already read several threads but could not make it work by the answers given there. 
  Project level gradle is:</p>
  
  <pre><code>buildscript {
  repositories {
     google()
      jcenter()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:3.1.2'
  }
  }
  
  allprojects {
  repositories {
      google()
      maven { url 'https://maven.google.com' }
      jcenter()
      mavenCentral()
      flatDir {
          dirs 'libs'
      }
  }
  }
  
  task clean(type: Delete) {
  delete rootProject.buildDir
  }
  </code></pre>
  
  <p>And build.gradle is :</p>
  
  <pre><code>implementation "android.arch.lifecycle:extensions:1.1.0"
  annotationProcessor "android.arch.lifecycle:compiler:1.1.0"
  </code></pre>
  
  <p>How can i make it work? I am on Android Studio 3.1.2 . I also tried to import some github samples but same error occurred each time . Now its been 7 hours i have been busting my head on this.  </p>