jpger.blogg.se

React native android studio mac
React native android studio mac












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

react native android studio mac

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

  • Android NDK (download links and installation instructions below).
  • Android Support Repository >= 26 (for Android Support Library).
  • SDK build tools version 26.0.3 (buildToolsVersion in adle).
  • react native android studio mac

  • Android SDK version 26 (compileSdkVersion in adle).
  • Make sure you have the following installed:

    react native android studio mac

    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.














    React native android studio mac