React Native English official website: https://facebook.github.io/react-native/
React Native Chinese official website: http://reactnative.cn/
React Native Official Installation Tutorial: Http://reactnative.cn/docs/0.27/getting-started.html#content
0x00 Dependencies for Windows + Android
What you need to prepare:
A.chocolatey
B.node.js
C. The React Native command line tools
D. Android Studio
Tips:
In fact, I think not to install chocolatey should also be possible, the following describes my direct installation method.
1. Node. JS Official website: https://nodejs.org/en/Get the installation package: Node-v4.4.7-x64.msi install node. js
2. Administrator Run command line install the React Native command lines Tools
Install -G react-native-cli
3. Installing Python2
Python Official website: https://www.python.org/downloads/
Accelerate Gradle build recommended https://docs.gradle.org/2.9/userguide/gradle_daemon.html
4. Download and install Android Studio
British Civil Service network download: https://developer.android.com/studio/index.html
Chinese civil Service network download: http://www.android-studio.org/
5. Test whether the installation was successful
Open a command line to create a project named Awesomeproject
React-native Init Awesomeproject
Enter this directory:
CD Awesomeproject
Run the App
React-native run-android
If everything works, the app will be installed on your emulator.
React Native Introductory article