title: Failed to resolve: com.android.databinding:library:3.1.2
body: <p>After updating android studio 3.1.2 my existing project gives error at </p>
  
  <pre><code>dataBinding.enabled = true
  </code></pre>
  
  <p>error is as follows-</p>
  
  <pre><code>Failed to resolve: com.android.databinding:library:3.1.2
  Failed to resolve: com.android.databinding:adapters:3.1.2
  </code></pre>
  
  <p>my gradle dependency are as follows-</p>
  
  <pre><code>dependencies {
  implementation fileTree(include: ['*.jar'], dir: 'libs')
  implementation 'com.android.support:appcompat-v7:25.1.0'
  
  implementation 'com.android.support:recyclerview-v7:25.1.0'
  implementation 'com.android.support:preference-v7:25.1.0'
  
  implementation 'com.android.support.constraint:constraint-layout:1.0.0-beta3'
  
  implementation 'com.firebase:firebase-jobdispatcher:0.5.0'
  
  // Instrumentation dependencies use androidTestCompile
  // (as opposed to testCompile for local unit tests run in the JVM)
  androidTestImplementation 'junit:junit:4.12'
  androidTestImplementation 'com.android.support:support-annotations:25.1.0'
  androidTestImplementation 'com.android.support.test:runner:0.5'
  androidTestImplementation 'com.android.support.test:rules:0.5'
  </code></pre>
  
  <p>}</p>
  
  <p>I also tried </p>
  
  <pre><code>android.databinding.enableV2=true
  </code></pre>
  
  <p>but its also not working</p>
  
  <p>When I tried to update build tool version to 4.4 then I found this error. I f I do not update the build tool version then its working fine.</p>