google/conscrypt

libconscrypt_jni.so is not 16kb aligned for Android

Opened this issue · 2 comments

Android has released to check if the libraries used are 16kb aligned https://developer.android.com/guide/practices/page-sizes#:~:text=Beginning%20with%20Android%2015%2C%20Android,on%20these%2016%20KB%20devices
and we noticed libconscrypt_jni.so comign from aws sdk is not aligned

/tmp/my_apk_out9/tmp/my_apk_out8/lib/arm64-v8a/libconscrypt_jni.so: \e[31mUNALIGNED\e[0m (2**12)

when checked with aws (aws-amplify/aws-sdk-android#3624) they mentioned its coming from google
could you please help

Hi, are you building from source? You should be able to try something like this: #1213

Confirming that org.conscrypt:conscrypt-android:2.5.3 has 16KB page support and our dependency has tested it to work properly.