首先创建keystore

用 Android studio 打包 React native

点击Create New

用 Android studio 打包 React native

创建完成点Next

用 Android studio 打包 React native

点 Finish 之前, 需要打包bundle, 在项目的目录下面, cmd 运行如下命令

react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/

最后点击 Finish完成

用 Android studio 打包 React native


相关文章:

  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-04-10
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-06-10
猜你喜欢
  • 2021-12-09
  • 2021-08-21
  • 2022-12-23
  • 2022-01-02
  • 2021-08-12
相关资源
相似解决方案