diff --git a/docs/android-building-from-source.html b/docs/android-building-from-source.html index 6259a867897..06f759f7c6b 100644 --- a/docs/android-building-from-source.html +++ b/docs/android-building-from-source.html @@ -1,6 +1,6 @@
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.
Assuming you have the Android SDK installed, run android to open the Android SDK Manager.
Make sure you have the following installed:
build.gradle)build.gradle])Point Gradle to your Android SDK: either have $ANDROID_SDK and $ANDROID_NDK defined, or create a local.properties file in the root of your react-native checkout with the following contents:
Example:
react-native from your fork. For example, to install the master branch from the offcial repo, run the following:Alternatively, you can clone the repo to your node_modules directory and run npm install inside the cloned repo.
gradle-download-task as dependency in andoid/build.gradle:react-native from your fork. For example, to install the master branch from the offcial repo, run the following:Alternatively, you can clone the repo to your node_modules directory and run npm install inside the cloned repo.
gradle-download-task as dependency in android/build.gradle::ReactAndroid project in andoid/settings.gradle::ReactAndroid project in android/settings.gradle: