加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ReactNative学习十七-UIExplorer例子运行

发布时间:2020-12-15 03:34:58 所属栏目:百科 来源:网络整理
导读:1. React Native项目官方地址:https://github.com/facebook/react-native git clone https://github.com/facebook/react-native.git 2 .添加Node依赖模块:该命令行需要切到react-native项目中,主要运行如下命令 1 cd react - native 以及 npm install 3.以上

1.React Native项目官方地址:https://github.com/facebook/react-native

git clone https://github.com/facebook/react-native.git

2.添加Node依赖模块:该命令行需要切到react-native项目中,主要运行如下命令

1
cd react - native

以及

npm install

3.以上的步骤大家如果已经全部走完了之后,下面运行如下命令进行编译安装即可:

./gradlew :Examples:UIExplorer:android:app:installDebug


4.接着运行如下命令带起服务器,然后点击打开模拟器中的APP

. /packager /packager. sh

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

相关内容
推荐文章
站长推荐
热点阅读