
Installing the forkįirst, you need to install react-native from your fork. You can find further instructions on the official page. dir=/Users/your_unix_name/android-ndk/android-ndk-r17b dir=/Users/your_unix_name/android-sdk-macosx Step 2: Create a local.properties file in the android directory of your react-native app with the following contents:Įxample: sdk. See below for examples from common shells.Įxample: export ANDROID_SDK=/Users/your_unix_name/android-sdk-macosxĮxport ANDROID_NDK=/Users/your_unix_name/android-ndk/android-ndk-r10e

Note: Files may vary based on shell flavor. Step 1: Set environment variables through your local shell.


Android PrerequisitesĪssuming you have the Android SDK installed, run android to open the Android SDK Manager. You will need to build React Native from source if you want to work on a new feature/bug fix, try out the latest features which are not released yet, or maintain your own fork with patches that cannot be merged to the core.
