Skip to content

Instantly share code, notes, and snippets.

@ShirajG
Created September 17, 2015 01:46
Show Gist options
  • Save ShirajG/adda0f75031c50844d2f to your computer and use it in GitHub Desktop.
Save ShirajG/adda0f75031c50844d2f to your computer and use it in GitHub Desktop.
Steps for getting a working Linux install for React Native Android

###Installing React Native Android on Ubuntu

Here are the steps for getting a working Linux install for React Native:

  1. Install Java SDK
  1. Install KVM

    • sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager
    • sudo adduser your_user libvirtd
    • Logout and log back in
    • virsh -c qemu:///system list should show you an empty list.
  2. Install the Android SDK

  • Download here
  • After it finishes installing, you'll have an Android folder in your home directory.
  • Create the following entries in your ~/.bashrc or ~/.zshrc
    • export ANDROID_HOME=/home/<your user>/Android/Sdk
    • alias android='/home/<your user>/Android/Sdk/tools/android'
    • reload your shell
  1. Continue to step 4 in the official guide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment