title: Gradle build error using react native
body: <p>I get this error when trying to run an app on an android emulator(Android Studio) from a console window:</p>
  
  <p>$ react-native run-android
  Scanning folders for symlinks in C:\Users\Brian\desktop\codervets\arrive-alive\aa_app\node_modules (27726ms)
  Starting JS server...
  Building and installing the app on the device (cd android &amp;&amp; gradlew.bat installDebug)...
  Starting a Gradle Daemon (subsequent builds will be faster)
  Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>What went wrong:
  A problem occurred configuring project ':app'.</p>
  
  <blockquote>
    <p>The SDK directory 'c:\Users\eelia001\AppData\local\android\sdk1' does not exist.</p>
  </blockquote></li>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p></li>
  </ul>
  
  <p>BUILD FAILED in 4m 51s
  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:
  <a href="https://facebook.github.io/react-native/docs/android-setup.html" rel="nofollow noreferrer">https://facebook.github.io/react-native/docs/android-setup.html</a></p>
  
  <p>And yet my sdk directory in android studio has the following directory:
  C:\Users\Brian\AppData\Local\Android\Sdk</p>
  
  <p>Has anyone else ran into this issue? If so, how do I fix it?</p>