Install React Native for Android

Follow these steps to install react native for Android:

Step 1

Open and add following

If above link doesn’t work get new link from Homebrew

Step 2

Step 3

Step 4

Install JDK

Step 5

Download and Install Android Studio

Step 6

Install the Android SDK
Requirements – Android 9 (Pie) or higher
Requirements – Android SDK Platform 28 or higher

Step 7

Setup ANDROID_HOME environment variable

Open Terminal > vi .bash_profile
Add below lines

To save type :wq and enter

Step 8

Run your AVD Emulator from Android Studio and close Android Studio. Keep emulator running

Step 9

Go to folder created

Step 10

Running React Native application

Step 11

Run Packager – Android simulator – use different terminal

Step 12

This will take few minutes to execute