0
点赞
收藏
分享

微信扫一扫

linux android 集成 react native

舟海君 2022-03-31 阅读 88

集成到现有原生应用 · React Native 中文网

首先按上面网址 的方法集成。集成后是在android 模拟机上跑过的,真机没试过。

然后执行 下面的命令  npx  react-native bundle --platform android --entry-file index.js --bundle-output app/src/main/assets/index.android.bundle --dev false

就会在assets生成index.android.bundle ,然后androidstudio  运行你的项目就ok了

举报

相关推荐

0 条评论