Android Studio is not required. We will use shell script to install sdk-platforms and sdk-tools.
You'd better install jdk8, not jdk10. Because jdk10 may make your app crash.
npm install -g react-native-init@latest
yarn global add react-native-init@latest
Open terminal and type script:
And then run your project:
cd YourProjectName # For first time initialize. node scripts/init # Or yarn start npm start
Using npm to install package whatever.
react-native-init YourProjectName --npm
If you don't append this parameter, we will check yarn at first, and then check npm when yarn is not installed.
|< 0.7.0||0.54.* - 0.56.*|