fix: support 16 KB page size for Android 15+#493
Merged
Conversation
Disable legacy jniLibs packaging so native libraries are stored uncompressed and page-aligned in the APK. Bump secp256k1-kmp to 0.19.0 and kmp-tor-resource to 408.16.4 since the prior versions shipped ELF binaries with 4 KB LOAD alignment. All 13 .so files in the release APK now report 2**14 alignment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
jniLibs.useLegacyPackagingso native libraries are stored uncompressed and page-aligned in the APK.secp256k1-kmp0.16.0 → 0.19.0 andkmp-tor-resource408.12.0 → 408.16.4; prior versions shipped ELFs with 4 KB LOAD alignment..sofiles in the release APK report2**14(16 KB) LOAD alignment.Test plan
./gradlew assembleReleasesucceedsobjdump -pon each packagedlib/arm64-v8a/*.soreports alignment2**14