Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
yarn install (or npm install)
npm start (or yarn start)
Run on Android: yarn android (or npm run android).
Run on iOS: yarn ios (or npm run ios).
You've successfully run and modified your React Native App. 🥳
- If you want to add this new React Native code to an existing application, check out the Integration guide.
- If you're curious to learn more about React Native, check out the Introduction to React Native.
If you can't get this to work, see the Troubleshooting page.
or
cd android
./gradlew clean
cd ..
npm/yarn start
To learn more about React Native, take a look at the following resources:
- React Native Website - learn more about React Native.
- Getting Started - an overview of React Native and how setup your environment.
- Learn the Basics - a guided tour of the React Native basics.
- Blog - read the latest official React Native Blog posts.
@facebook/react-native
- the Open Source; GitHub repository for React Native.