Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
React native setup on Ubuntu/Linux

Guide for installing React Native on Linux (ubuntu 14.04)

Step 1: Install JDK 7

sudo apt-get install openjdk-7-jdk

Step 2: Download the Android SDK

download from here and follow these steps below:

cd {download-folder}
tar -xzvf android-sdk_r{version}-linux.tgz  # Extract the SDK files
sudo mv android-sdk-linux /opt              # Move them to the opt folder for later use
echo "export ANDROID_HOME=/opt/android-sdk-linux" >> ~/.bashrc # Create an ENV variable with the SDK location
sudo ln -s /opt/android-sdk-linux/tools/android  /usr/local/bin # Create a link to the android CLI

Step 3: Install needed SDK packages

android sdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.