- 安卓
如果已经连接真机,会在真机中安装测试 app,没连接真机会打开模拟器调试开发
npm run android
- ios
npm run ios
- 更新 version 版本号
npm version xx.xx.xx
- 执行打包
生成的 apk 文件在
android/app/build/outputs/apk/release/app-release.apk
npm run build:android
生成的 apk 文件在
android/app/build/outputs/bundle/release/app-release.aab
npm run build:android:aab