title: React Native : target with hash string 'android-X' not found
body: <p>I am trying to develop my first <a href="https://facebook.github.io/react-native/">react-native</a> <code>Android</code> app. When I run </p>
  
  <pre><code>sudo react-native run-android
  </code></pre>
  
  <p>I get the following error</p>
  
  <pre><code>JS server already running.
  Building and installing the app on the device (cd android &amp;&amp; ./gradlew installDebug)...
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  A problem occurred configuring project ':app'.
  &gt; failed to find target with hash string 'android-23' in: /usr/local/Cellar/android-sdk
  
  * 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.981 secs
  Could not install the app on the device, see the error above.
  </code></pre>
  
  <p>I have <code>24.3.3</code> under <code>/usr/local/Cellar/android-sdk</code> with all API-23 packages installed</p>
  
  <p><a href="https://i.stack.imgur.com/EybjJ.png"><img src="https://i.stack.imgur.com/EybjJ.png" alt="enter image description here"></a></p>
  
  <p>My <code>android/app/build.gradle</code> says</p>
  
  <pre><code>compileSdkVersion 23
  buildToolsVersion "23.0.0"
  
  defaultConfig {
      applicationId "com.awesomeandroid"
      minSdkVersion 16
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
      ndk {
          abiFilters "armeabi-v7a", "x86"
      }
  }
  </code></pre>
  
  <p>When I try <code>$ANDROID_HOME</code>, it says <code>-bash: /usr/local/Cellar/android-sdk/24.3.3: is a directory</code>.</p>
  
  <p>I have also added <code>local.properties</code> under <code>android/app/</code> and added <code>sdk.dir=/usr/local/Cellar/android-sdk/24.3.3</code></p>
  
  <p>Am I missing something?</p>