React Native adb reverse ENOENT
<p>I am trying to get React-Native to work with <code>Android V4.2.2 (Genymotion)</code> but I am unable to test the app on the Emulator. When I ran <code>react-native run-android</code>, I get this error <code>Could not run adb reverse: spawnSync</code></p>

<p>Here is a log</p>

<pre><code>JS server already running.
Running ~/Library/Android/sdk/platform-tools/adb reverse tcp:8081 tcp:8081
Could not run adb reverse: spawnSync ~/Library/Android/sdk/platform-tools/adb ENOENT
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; The SDK directory '~/Library/Android/sdk' does not exist.

* 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: 3.785 secs
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>

<p>NOTE: In the log it saids SDK directory does not exist, I have double check that I do have the SDK installed in that directory.</p>

<p>I found my android emulator when executing <code>adb devices</code></p>

<pre><code>List of devices attached
192.168.56.101:5555 device
</code></pre>

<p>I have tried the following steps from Stack Overflow post, but still no luck
<a href="https://stackoverflow.com/a/38536290/4540216">https://stackoverflow.com/a/38536290/4540216</a></p>