Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save walidamriou/f1ed66f56aeb9e0f66de712ffadb6a41 to your computer and use it in GitHub Desktop.
Save walidamriou/f1ed66f56aeb9e0f66de712ffadb6a41 to your computer and use it in GitHub Desktop.
Getting started React Native in Ubuntu/Linux

Fix "SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties" or "Failed to install the app. Make sure you have the Android development environment set up" export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment