title: react-native can't build run android correctly
body: <p>I was trying to run an android project with this command:  </p>
  
  <pre><code>react-native run-android
  </code></pre>
  
  <p>but it doesn't build anything and print this msg:  </p>
  
  <pre><code>Starting JS server...
  Building and installing the app on the device (cd android &amp;&amp; gradlew.bat installDebug)...
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  A problem occurred configuring project ':app'.
  &gt; Could not download javax.inject.jar (javax.inject:javax.inject:1)
     &gt; Could not get resource 'https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.jar'.
        &gt; Could not GET 'https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.jar'.
           &gt; Connect to jcenter.bintray.com:443 [jcenter.bintray.com/108.168.243.150] failed: Connection timed
  t: connect
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log outpu
  
  BUILD FAILED
  
  Total time: 2 mins 17.303 secs
  Could not install the app on the device, read the error above for details.
  Make sure you have an Android emulator running or a device connected and have
  set up your Android development environment:
  https://facebook.github.io/react-native/docs/android-setup.html
  </code></pre>
  
  <p>how can I fix it?</p>