-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Labels
Description
Description
Merely switching from 25.1.8937393 to 26.1.10909125 causes my .so files to decrease somewhat in size, except for arm64-v8a. Is this expected?
Also, the libc++_shared.so is larger for all ABIs. Also expected?
| Library | ABI | r25 (bytes) | r26 (bytes) |
| ---------------- | ----------- |-------------:|-------------:|
| mylib.so | arm64-v8a | 2 395 376 | 2 465 384 | <---
| mylib.so | armeabi-v7a | 2 231 984 | 2 229 208 |
| mylib.so | x86 | 2 755 532 | 2 718 636 |
| mylib.so | x86_64 | 2 727 504 | 2 679 816 |
| libc++_shared.so | arm64-v8a | 1 026 616 | 1 330 832 | ?
| libc++_shared.so | armeabi-v7a | 610 272 | 1 109 732 | ?
| libc++_shared.so | x86 | 993 108 | 1 284 616 | ?
| libc++_shared.so | x86_64 | 1 045 960 | 1 275 840 | ?
I did set minSdk 21 in build.gradle, but my Application.mk (accidently) contained APP_PLATFORM := android-19, so I'm not entirely sure which SDK was configured for the NDK build. It should be noted that mylib.so is built in a project which depends on an .AAR (where APP_STRIP_MODE was set to none). Otherwise, no fancy settings.
Application.mk
APP_PLATFORM := android-21
APP_ABI := armeabi-v7a x86 arm64-v8a x86_64
APP_STL := c++_sharedAttaching the .so files for arm64-v8a:
arm64-libs.zip
Affected versions
r26
Canary version
No response
Host OS
Windows
Host OS version
Windows 11
Affected ABIs
armeabi-v7a, arm64-v8a, x86, x86_64
Build system
ndk-build
Other build system
No response
minSdkVersion
21
Device API level
No response