StoreRules

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

Use command-line tools directly

In plain words

To check 16 KB ELF alignment manually, install the tools, extract the APK, inspect each .so file's load segments with llvm-objdump, then verify the APK with zipalign.

  • Install Android SDK Build-Tools 35.0.0 or higher and the Android NDK via SDK Manager in Android Studio or sdkmanager.
  • Extract the APK, then run llvm-objdump -p on each .so file in the lib directory and filter for LOAD lines.
  • Load segments must not have values below 2**14; if any are 2**13, 2**12 or lower, update the library packaging, recompile and retest.
  • Run zipalign -v -c -P 16 4 on the APK; the last output line says "Verification successful" if all shared libraries are aligned correctly.
  • If zipalign verification fails, some libraries need realigning: update their packaging, recompile and retest.

Summary written by StoreRules and checked against the official text.

From the official text

Follow these steps to check the alignment of ELF segments using command-line tools directly: 1. Make sure both Android SDK Build-Tools version 35.0.0 or higher and the Android NDK are installed using the SDK Manager in Android Studio or sdkmanager command-line tool. 2. Extract your app's APK file: Linux or macOS unzip …

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

Change history

No substantive change since StoreRules began tracking it.

First seen: 2026-10-16

Developers' cases about this clause

No cases yet.

Share your case