title: Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
body: <p>I've setup the environment for react native on Windows. But when I run the command </p>
  
  <pre><code>react-native run-android
  </code></pre>
  
  <p>I get the following errors -</p>
  
  <pre><code>* What went wrong:
  A problem occurred configuring project ':app'.
  &gt; Failed to notify project evaluation listener.
     &gt; Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
  </code></pre>
  
  <p>How do I fix this?</p>