title: Could not resolve all files for configuration ':classpath'
body: <p>i am developing sample application in react-native , i faced this issue when i was run- android emulator my sdk tool version is 25 , but i don't know how it is getting this issue please let me suggestion.</p>
  
  <pre><code>&gt; Could not resolve all files for configuration ':classpath'.
     &gt; Could not resolve com.android.tools.build:gradle:3.1.0.
       Required by:
           project :
        &gt; Could not resolve com.android.tools.build:gradle:3.1.0.
           &gt; Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom'.
              &gt; org.apache.http.ssl.SSLInitializationException: \Library\Java\Home\jre\lib\security\cacerts (The system cannot find the path specified)
        &gt; Could not resolve com.android.tools.build:gradle:3.1.0.
           &gt; Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.0/gradle-3.1.0.pom'.
              &gt; org.apache.http.ssl.SSLInitializationException: \Library\Java\Home\jre\lib\security\cacerts (The system cannot find the path specified)
     &gt; Could not resolve com.google.gms:google-services:3.2.0.
       Required by:
           project :
        &gt; Could not resolve com.google.gms:google-services:3.2.0.
           &gt; Could not get resource 'https://dl.google.com/dl/android/maven2/com/google/gms/google-services/3.2.0/google-services-3.2.0.pom'.
              &gt; org.apache.http.ssl.SSLInitializationException: \Library\Java\Home\jre\lib\security\cacerts (The system cannot find the path specified)
        &gt; Could not resolve com.google.gms:google-services:3.2.0.
           &gt; Could not get resource 'https://jcenter.bintray.com/com/google/gms/google-services/3.2.0/google-services-3.2.0.pom'.
              &gt; org.apache.http.ssl.SSLInitializationException: \Library\Java\Home\jre\lib\security\cacerts (The system cannot find the path specified)
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Get more help at https://help.gradle.org
  </code></pre>