StoreRules

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

Use bundletool to verify zip alignment

通俗解读

使用 bundletool 的 dump config 命令检查 .aab 请求的 zip 对齐方式:16 KB 或 4 KB。

  • 运行:bundletool dump config --bundle=<my .aab> | grep alignment。
  • PAGE_ALIGNMENT_16K 表示你的 bundle 请求 16 KB zip 对齐。
  • PAGE_ALIGNMENT_4K 指示由该 AAB 构建的 APK 中,.so 文件须以 4 KB 对齐存放于 zip 文件中。

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

官方原文摘录

To see the alignment of your bundle, use: bundletool dump config --bundle=<my .aab | grep alignment If you see PAGEALIGNMENT16K then you know your bundle requests 16 KB zip alignment. If you see PAGEALIGNMENT4K, this instructs the APK built from this AAB to have 4 KB aligned .so files in the zip file.

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

变更历史

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

首次出现: 2026-10-16

开发者关于此条款的案例

暂无案例。

分享你的案例