Issue Description:
I'm encountering the following error on a Pixel 8 device (with a 16KB page size):
FATAL EXCEPTION:
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/*******/ lib/arm64/libconscrypt_jni.so" program alignment (4096) cannot be smaller than system page size (16384)
This occurs when calling:
Security.insertProviderAt(Conscrypt.newProvider(), 1);
Environment:
Conscrypt Version: 2.5.3 (latest)
Device: Pixel 8 (16KB page size)
Platform: Android
The issue is due to a misalignment between the libconscrypt_jni.so library's program alignment (4096 bytes) and the system's page size (16384 bytes), which causes the UnsatisfiedLinkError.
Would appreciate any guidance or fixes for this issue.