We advise to follow the guidelines to setup your environment. Select your Development OS and your target OS (Android/iOS).
For Android, you will need to:
- install
node
,JDK
- install Android Studio & Android SDK
- configure
ANDROID_HOME
environment variable - create an virtual device with Android AVD.
For iOS, you will need to:
-
install
node
- with NVM to have the right version
brew install nvm nvm install nvm use
- AND
- with Brew to have XCode build's steps (
Bundle React Native code and images
andUpload Debug Symbols to Sentry
) working
brew install node
-
install Xcode and its command line tools
-
Install a simulator if not already in Xcode
-
install Cocoapods
To make sure your environment is setup correctly, try to run a template application with Create React Native App or with react-native-cli.