React native for Android (make you first android app), reactandroid
Step 1: If node is installed on your computer, congratulations. Step 1 is complete. If not, install node first.
Step 2: Install react-native-cli. In windows, you need to sign the react-native-cli in react-native from github, it is difficult to directly execute npm install react-native-cli. An error occurs when you create a project. Github: http://www.github.com/facebook/react-native,
Run the entire react-native-master command down, go to the react-native-cli directory, and run npm install-g
Step 3: Create your first project, react-native init myFirstProject. I don't know why it is the first time. It takes a long time to create a project. You have to wait patiently and don't know how you do it, I have been waiting for seven or eight minutes. Maybe my computer is so crazy, or the speed is getting slow.
Step 4: run the created Project, go to the myFirstProject directory you created, and execute react-native run-android.
If an error occurs in the figure, it may be due to network problems. You can execute it again or download the offline grandle-core and modify the url in the configuration file.
If an error occurs, congratulations, your project has been completed, but you have not installed the android simulator.