Joã*_*ira 1 android adb google-play-console bundletool
我的 APK 文件已经签名(使用 jarsigner)并压缩(使用 zipalign)。我是通过 bash 脚本完成的。虽然我在 Play Console 中收到警告,要求使用 Android App Bundle:
使用 Android App Bundle 减小下一个版本的大小。如果您使用 Android App Bundle,您的应用可能会小 15.4%。
我知道我必须使用bundletool才能在命令行中使用它。文档虽然太长而且太麻烦。
想象一下我有一个这样的文件myApp.apk(已经签名和压缩)。我应该运行哪个命令才能将 Android App Bundle 文件上传到 Google Play Console?
小智 7
这很简单。您可以通过以下命令从 android 源创建应用程序包 (.abb) 文件:
gradlew bundle
Run Code Online (Sandbox Code Playgroud)
或者
gradle bundle
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1702 次 |
| 最近记录: |