StoreRules

Rules · Support 16 KB page sizes · Check the alignment of ELF segments for shared libraries

Use the check_elf_alignment.sh script (Linux or macOS)

In plain words

On Linux or macOS, you can optionally use the check_elf_alignment.sh script on your APK to check shared library alignment; UNALIGNED libraries require repackaging, recompiling and retesting.

  • Save the check_elf_alignment.sh script to a file, then run it on your app's APK: check_elf_alignment.sh APK_NAME.apk.
  • The script outputs ALIGNED or UNALIGNED for all the arm64-v8a shared libraries.
  • If any arm64-v8a or x86_64 shared libraries are UNALIGNED, you'll need to update their packaging, recompile the app and retest.

Summary written by StoreRules and checked against the official text.

From the official text

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 …

Read the full official text ↗ Open in the StoreRules library Ask whether your app complies

Change history

First seen: 2026-10-16

Developers' cases about this clause

No cases yet.

Share your case