title: Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'
body: <p>I am developing a mobile app with using react-native on WebStorm and trying to test it via an Android emulator(Pixel API 28) which I created via using AVD Manager of Android Studio. The problem is when I run the <code>react-native run-android</code> command, I get the following error:</p>
  
  <pre><code>Could not determine the dependencies of task ':app:preDebugBuild'.
  &gt; Could not resolve all task dependencies for configuration             
  ':app:debugRuntimeClasspath'.
     &gt; Could not resolve com.facebook.react:react-native:+.
       Required by:
           project :app
        &gt; Failed to list versions for com.facebook.react:react-native.
           &gt; Unable to load Maven meta-data from         
  https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml.
              &gt; Could not HEAD 
  'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'.
                 &gt; Connect to jcenter.bintray.com:443 [jcenter.bintray.com/35.158.228.205, jcenter.bintray.com/3.120.47.203] failed: Read timed out
  </code></pre>
  
  <p>I tried to clean up the cache with using the command below but it did not worked:</p>
  
  <p><code>npm cache clean --force</code></p>
  
  <p>I could not find some similar problems on the web and I am not sure what to show related with this problem. </p>
  
  <p>When I try to run one of my previous project which was perfectly running, after getting this error and I saw that it also throws the same error. Similarly, when I create a new react-native project and try to run it, then I also got the same error. How can I solve this?</p>
  
  <hr>
  
  <p>I am still loking for a solution. Anyone knows how to solve it?</p>