StoreRules

规则 · 支持 16 KB 页面大小 · 更新共享库的打包方式

AGP version 8.5 or lower

通俗解读

如果无法升级到 AGP 8.5.1 或更高版本,请配置 Gradle 在打包时压缩共享库,以避免未对齐库导致的安装问题。

  • 在 AGP 8.3 至 8.5 中,应用默认按 16 KB 对齐,但 bundletool 默认不会对 APK 进行 zipalign。
  • 应用可能看似正常运行,但从 Play 中的 bundle 构建时将无法安装。
  • 更新 Gradle 配置,使 Gradle 在打包应用时压缩共享库。

摘要由 StoreRules 撰写,并与官方原文核对。

官方原文摘录

Note: In AGP version 8.3 to 8.5, apps are 16 KB aligned by default. However, bundletool does not zipalign APKs by default. So, the app may appear to work, but when built from a bundle in Play, it won't install. If you can't upgrade AGP to version 8.5.1 or higher, then the alternative is to switch to use compressed …

阅读官方全文 ↗ 在 StoreRules 规则库中打开 询问你的应用是否合规

变更历史

自 StoreRules 开始跟踪以来没有实质性变化。

首次出现: 2026-10-16

开发者关于此条款的案例

暂无案例。

分享你的案例