react native 环境搭建
官方文档环境搭建地址:https://reactnative.cn/docs/getting-started.html软件下载地址:http://study.yycc456.com1.nodejs(12.3.0)node -v2.npx nrm use taobao3.npm install -g yarn (安装yarn)4.npm install -g ...
·
官方文档环境搭建地址:https://reactnative.cn/docs/getting-started.html
软件下载地址:http://study.yycc456.com
1.nodejs(12.3.0) node -v
2.npx nrm use taobao
3.npm install -g yarn (安装yarn)
4.npm install -g react-native-cli
.
5. react-native --help
![]()
6.下载安装AndrioStudio (https://developer.android.google.cn/index.html)
7. 初始化项目 react native (react-native init appName)
react-native init appName
8. react-native run-android 运行项目
第一种方法:在模拟器中运行
1.
更多推荐
所有评论(0)