Skip to content

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

@anjitha-beep

Description

@anjitha-beep

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'

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions