Android 包的原始文件大小有点奇怪

Android bundle's raw file size is something weird

最终的 aab 文件大小约为 73MB,但 android 工作室估计为 28MB。 怎么回事?

您所看到的是完全正常的。

原始文件大小是您将上传到 Play 管理中心的 App Bundle 中所有文件的总大小。

Google Play 然后优化 App Bundle 以生成适用于不同设备配置的 Apk。例如。像素密度、语言等

Google Play uses your app bundle to generate and serve optimized APKs for each device configuration, so only the code and resources that are needed for a specific device are downloaded to run your app. You no longer have to build, sign, and manage multiple APKs to optimize support for different devices, and users get smaller, more-optimized downloads.3

这意味着用户将仅收到其设备所需的资源,从而降低应用下载大小。

更多信息:https://developer.android.com/guide/app-bundle