1. flutter 打 .add 命令  

  flutter build appbundle

 

2. Android studio Build -> Build App Bundle

android 打包和安装 .aab 包

 

 

 

打包出来 .aab 包

android 打包和安装 .aab 包

 

 

 

 

2. 转换与安装

使用 bundletool 工具

参考文章

2.1 将 .aab 转换为 .apks

java -jar bundletool-all-1.8.2.jar build-apks --bundle=app-pro-release.aab --output=pet.apks

2.2 .apks 安装

java -jar bundletool-all-1.8.2.jar install-apks --apks=pet.apks




相关文章:

  • 2022-02-08
  • 2021-10-26
  • 2021-09-13
  • 2021-07-16
  • 2021-09-17
  • 2021-11-28
  • 2021-10-01
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2021-09-30
  • 2021-08-27
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-05-09
相关资源
相似解决方案