Snapchat / Snapchat/Valdi

support for android 16 KB page size

Open
#94 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
16.4k
Forks
537
Avg merge
22d 5h
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
Running my valdi app on android (pixel 8, running android 16), I get a warning that says:

This app isn't 16 KB-compatible. 
ELF alignment check failed. 
Please follow the steps on https://developer.android.com/16kb-page-size

The following libraries are not 16 KB-aligned: 
* lib/arm64-v8a/libvaldi.so : LOAD segment not aligned

Describe the solution you'd like
Support for 16 KB page sizes as per the link in the warning message.

As per that link: Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes on 64-bit devices.

Describe alternatives you've considered
N/A

Additional context
N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Android 16 KB page-size guidance linked in the warning, then trace how lib/arm64-v8a/libvaldi.so is built and packaged. Verify the resulting library passes the alignment check on a 16 KB Android device or emulator and that the warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp
Domain
build-system, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.