Could not find tools.jar React native Android in Mac OSX
<p>I reach this step  :</p>

<pre><code>reactive-native run-android ; 
</code></pre>

<p>When I run <code>echo $JAVA_HOME</code>, i got the full path to JDK directory : </p>

<pre><code>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
</code></pre>

<p>I add that path to <code>./android/gradle.properties</code> : </p>

<pre><code>org.gradle.java.home=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
</code></pre>

<p>I got the same error which is  :</p>

<blockquote>
  <p>..... .... :app:generateDebugSources UP-TO-DATE
  :app:processDebugJavaRes UP-TO-DATE :app:compileDebugJavaWithJavac
  FAILED</p>
  
  <p>FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.</p>
  
  <blockquote>
    <p>Could not find tools.jar</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>
  </ul>
  
  <p>.....</p>
</blockquote>