title: React-native error: Could not resolve all files for configuration ':classpath'
body: <p>My React Native build quite suddenly fails with an error.</p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * What went wrong:
  A problem occurred configuring root project 'Driver'.
  &gt; Could not resolve all files for configuration ':classpath'.
    &gt; Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
   Searched in the following locations:
       https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar
  </code></pre>
  
  <p>Other questions had to do with </p>
  
  <pre><code>Could not resolve all artifacts for configuration ':react-native-document-scanner:classpath'.
  </code></pre>
  
  <p>This one has the message </p>
  
  <pre><code>Could not resolve all files for configuration ':classpath'.
  </code></pre>