Native library libpl_droidsonroids_gif.so is not 16 KB page aligned (Play Console warning) UNALIGNED

Author: anjitha-sajeevanCreated Jan 29, 2026Updated Apr 6, 2026
Labelsneeds info

We are currently facing an issue related to Google Play’s 16 KB memory page size requirement for native libraries. We used Google’s check_elf_alignment.sh script to verify ELF segment alignment.

Result:

/lib/arm64-v8a/libpl_droidsonroids_gif.so: UNALIGNED /lib/x86_64/libpl_droidsonroids_gif.so: UNALIGNED

=== ELF alignment === ./check_elf_alignment.sh: line 99: objdump: command not found /tmp/app-live-release_out_HvVee/lib/armeabi-v7a/libpl_droidsonroids_gif.so: UNALIGNED () ./check_elf_alignment.sh: line 99: objdump: command not found /tmp/app-live-release_out_HvVee/lib/x86_64/libpl_droidsonroids_gif.so: UNALIGNED () ./check_elf_alignment.sh: line 99: objdump: command not found /tmp/app-live-release_out_HvVee/lib/x86/libpl_droidsonroids_gif.so: UNALIGNED () ./check_elf_alignment.sh: line 99: objdump: command not found /tmp/app-live-release_out_HvVee/lib/arm64-v8a/libpl_droidsonroids_gif.so: UNALIGNED () Found 4 unaligned libs (only arm64-v8a/x86_64 libs need to be aligned).

We are using the version implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.29'

Source: koral--/android-gif-drawable