StoreRules

规则 · 支持 16 KB 页面大小 · Check the alignment of ELF segments for shared libraries

Use the check_elf_alignment.sh script (Linux or macOS)

通俗解读

在 Linux 或 macOS 上,您可以选择使用 check_elf_alignment.sh 脚本检查 APK 中共享库的对齐情况;若库为 UNALIGNED,则需要重新打包、重新编译并重新测试。

  • 将 check_elf_alignment.sh 脚本保存为文件,然后对应用的 APK 运行:check_elf_alignment.sh APK_NAME.apk。
  • 脚本会为所有 arm64-v8a 共享库输出 ALIGNED 或 UNALIGNED。
  • 如果任何 arm64-v8a 或 x86_64 共享库为 UNALIGNED,您需要更新其打包方式,重新编译应用并进行测试。

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

官方原文摘录

If you are developing on either Linux or macOS and prefer to use a script, you can use the checkelfalignment.sh script: 1. Save the checkelfalignment.sh script to a file. 2. Run the script on your app's APK file: checkelfalignment.sh APKNAME.apk The script outputs either ALIGNED or UNALIGNED for all the arm64-v8a …

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

变更历史

首次出现: 2026-10-16

开发者关于此条款的案例

暂无案例。

分享你的案例