Problem
app-x86_64-debug.apk (and likely release builds) is flagged as incompatible with 16 KB page size devices:
APK is not compatible with 16 KB devices. Some libraries have LOAD segments
not aligned at 16 KB boundaries:
lib/x86_64/libimage_processing_util_jni.so
This warning is triggered by Android Studio's APK Analyzer and will block Google Play submissions targeting Android 15+ after November 1, 2025 (mandatory deadline for new apps and updates).
Root cause
libimage_processing_util_jni.so is a pre-built JNI library bundled via a transitive dependency of this plugin (likely androidx.camera:camera-core or a related CameraX / ML Kit library). The .so was not compiled with -Wl,-z,max-page-size=16384, so its ELF LOAD segments are not aligned to 16 KB boundaries.
Environment
tauri-plugin-camera version: 0.1.4 (latest)
- NDK: r28.0.12674087
- Target:
x86_64-linux-android (debug) and aarch64-linux-android (release)
- Android Gradle Plugin: 8.x
Expected behaviour
All bundled .so files should have LOAD segments aligned to 16 KB boundaries so the plugin is compatible with Android 15+ devices using 16 KB page sizes.
Requested fix
Update the transitive dependency that ships libimage_processing_util_jni.so to a version rebuilt with 16 KB page size support. If the library is CameraX-based, bumping to a recent androidx.camera version (1.4.x+) that rebuilds native code with NDK r27+ should resolve it.
Reference: Android 16 KB page size developer guide
Problem
app-x86_64-debug.apk(and likely release builds) is flagged as incompatible with 16 KB page size devices:This warning is triggered by Android Studio's APK Analyzer and will block Google Play submissions targeting Android 15+ after November 1, 2025 (mandatory deadline for new apps and updates).
Root cause
libimage_processing_util_jni.sois a pre-built JNI library bundled via a transitive dependency of this plugin (likelyandroidx.camera:camera-coreor a related CameraX / ML Kit library). The.sowas not compiled with-Wl,-z,max-page-size=16384, so its ELF LOAD segments are not aligned to 16 KB boundaries.Environment
tauri-plugin-cameraversion: 0.1.4 (latest)x86_64-linux-android(debug) andaarch64-linux-android(release)Expected behaviour
All bundled
.sofiles should have LOAD segments aligned to 16 KB boundaries so the plugin is compatible with Android 15+ devices using 16 KB page sizes.Requested fix
Update the transitive dependency that ships
libimage_processing_util_jni.soto a version rebuilt with 16 KB page size support. If the library is CameraX-based, bumping to a recentandroidx.cameraversion (1.4.x+) that rebuilds native code with NDK r27+ should resolve it.Reference: Android 16 KB page size developer guide