Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libconscrypt_jni.so is not 16kb aligned for Android #1212

Closed
fxsweety opened this issue Aug 8, 2024 · 3 comments
Closed

libconscrypt_jni.so is not 16kb aligned for Android #1212

fxsweety opened this issue Aug 8, 2024 · 3 comments

Comments

@fxsweety
Copy link

fxsweety commented Aug 8, 2024

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

@smore-lore
Copy link
Contributor

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

@tylerjroach
Copy link

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

@prbprbprb
Copy link
Collaborator

Also now fixed on the 2.6 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants