title: Failed to download any source lists! (node.js v10.7.0 | yarn 1.7.0 | react-native: 0.56.0 | Windows 10)
body: <p>I am trying to run a hello world application using the steps clarified <a href="https://facebook.github.io/react-native/docs/getting-started.html" rel="nofollow noreferrer">hear</a>. I am pretty sure I have done all the steps. but when I try to <code>react-native run-android</code> I get the below error.</p>
  
  <p><a href="https://i.stack.imgur.com/1Bjuo.png" rel="nofollow noreferrer">react-native run-android ouput</a></p>
  
  <pre><code>C:\Users\Mike-laptop\AwesomeProject&gt;react-native run-android
  Scanning folders for symlinks in C:\Users\Mike-laptop\AwesomeProject\node_modules (43ms)
  JS server already running.
  Building and installing the app on the device (cd android &amp;&amp; gradlew.bat installDebug)...
  NDK is missing a "platforms" directory.
  If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to C:\Users\Mike-laptop\AppData\Local\Android\Sdk\ndk-bundle.
  If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  
  Failed to download any source lists!
  java.io.FileNotFoundException: https://dl.google.com/android/repository/repository2-1.xml
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  A problem occurred configuring project ':app'.
  &gt; Failed to find Build Tools revision 26.0.3
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  
  BUILD FAILED
  
  Total time: 4.602 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/getting-started.html
  </code></pre>
  
  <p><strong>Please note that I am running everything behind proxy... it is most likely due to the fact that react-native is not using proxy I have setup.</strong> I have tried to configure things in different ways. </p>
  
  <ul>
  <li>Internet options</li>
  <li>yarn config set proxy <a href="http://host:port" rel="nofollow noreferrer">http://host:port</a></li>
  <li>yarn config set h t t p s-proxy h t t p://host:port</li>
  <li>npm config set proxy h t t p://host:port</li>
  <li>npm config set h t t p s-proxy h t t p://host:port</li>
  <li><p>set environment variable </p>
  
  <p>set h t t p s_proxy=h t t p s://127.0.0.1:8123 
  set h t t p _proxy=h t t p://127.0.0.1:8123
  set proxy=h t t p://127.0.0.1:8123</p></li>
  </ul>
  
  <p>Still no luck :(</p>
  
  <p>Much appreciate any comments.</p>