The React Native command line interface requires the ANDROID_HOME environment variable to be set up.
Add the following lines to your ~/.bashrc (or equivalent) config file:
Add the following lines to your ~/.bashrc (or equivalent) config file:
Please make sure you export the correct path for
ANDROID_HOME. If you installed the Android SDK using Homebrew, it would be located at/usr/local/opt/android-sdk.
Add the following lines to your ~/.bashrc (or equivalent) config file:
Add the following lines to your ~/.bashrc (or equivalent) config file:
Please make sure you export the correct path for
ANDROID_HOMEif you did not install the Android SDK using Android Studio.