沃达风

1、安装android SDK(使用android studio安装 方便管理各个版本的android SDK)
2、安装模拟器Genymotion

远程代码启动步骤:
1、更新模块
npm install
2、因为涉及到原生代码,所以在执行完install后,需要执行link命令
react-native link react-native-device-info
3、重新编译
cd android
./gradlew clean
4、运行
react-native run-android

posted on 2019-03-14 13:57  woodafeng  阅读(566)  评论(0编辑  收藏  举报