title: React Native FAILURE: Build failed with an exception. Could not resolve ':classpath'. Could not find com.android.tools.build:gradle:3.0.1
body: <p>When I make the command "react-native run-android" then it happened:</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li>What went wrong:
  A problem occurred configuring root project 'AsomeProject'.
  
  <blockquote>
    <p>Could not resolve all files for configuration ':classpath'.
    Could not find com.android.tools.build:gradle:3.0.1.
     Searched in the following locations:
         <a href="https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle" rel="nofollow noreferrer">https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle</a>                                                               -3.0.1.pom
         <a href="https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle" rel="nofollow noreferrer">https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle</a>                                                               -3.0.1.jar</p>
  </blockquote></li>
  </ul>
  
  <p>screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/sQBC7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sQBC7.png" alt="enter image description here"></a></p>