title: when react-native run-android error
body: <p>I tried to run the react-native run-android through my React Project. After that, I got an error like the following.</p>
  
  <blockquote>
    <p><strong>show error in cmd</strong>  </p>
  
  <pre><code>C:\Users\ekkawit\Desktop\ReactNative\myapp&gt;react-native run-android  
  Scanning 557 folders for symlinks in  
  C:\Users\ekkawit\Desktop\ReactNative\myapp\node_modules (15ms)  
  
  Starting JS server...
  Building and installing the app on the device (cd android &amp;&amp; gradlew.bat installDebug)...  
  Error occurred during initialization of VM  
  java/lang/NoClassDefFoundError: java/lang/Object  
  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>
  </blockquote>
  
  <p>I installed Android SDK and set Android Home and Path Environmental Variable successfully. But I am still getting the same error.</p>
  
  <p>I also installed Gennymotion on my pc for creating virtual android device.</p>