Android build: Native libraries not 16 KB page-aligned, Play Store rejecting apps

APK is not compatible with 16 KB devices.
Some libraries have LOAD segments not aligned at 16 KB boundaries:

base/lib/arm64-v8a/libpytorch_jni.so
base/lib/arm64-v8a/libpytorch_vision_jni.so

base/lib/x86_64/libfbjni.so
base/lib/x86_64/libpytorch_jni.so
base/lib/x86_64/libpytorch_vision_jni.so

Google requires 16 KB alignment starting Nov 1, 2025.

Requesting you to update Android build pipeline (CMake/NDK flags) to produce aligned .so files.

Please use ExecuTorch. We are no longer investing in PyTorch Mobile. You’ll get much more support along with all sorts of perf, memory, sizewins.

But still, the latest version of ExecuTorch is not aligned at 16 KB page boundaries.

// https://mvnrepository.com/artifact/org.pytorch/executorch-android
implementation ‘org.pytorch:executorch-android:1.0.0-rc1’

When we can expect the newer version?

Can we use it in production app?

Do you still need this?