安装nodejs
安装react-native-cli
npm install -g react-native-cli
安装android studio
创建项目并编译运行
react-native init HelloWorld
cd HelloWorld
react-native run android
用chrome调试
http://localhost:8081/debugger-ui
http://facebook.github.io/react-native/docs/getting-started.html
[react-native]Getting Started for Android on Windows
原文地址:http://3524848.blog.51cto.com/3514848/1783260