1.start

1. react-native init Helloworld  // 创建 helloworld 工程

2. 进入 helloworld -》android, 运行 react-navite run-android (如果不成功,试运行 npm install react-native, npm start, 前提:模似器要启动)

3. 进入 hellpworld -> ios, 导入到xcode中,并运行。

原文地址:https://www.cnblogs.com/hujihon/p/6394237.html