How to check the compatibility of libc++_shared.so on different ndk

87 views
Skip to first unread message

ldk xingzhe

unread,
May 16, 2025, 8:06:37 AMMay 16
to android-ndk
My App has many so, some compiled on ndk 16, some compiled on ndk21, some compiled on ndk27. How to check the compatibility of libc++_shared.so on different ndk

Dan Albert

unread,
May 16, 2025, 3:43:09 PMMay 16
to andro...@googlegroups.com
There are no known compatibility issues for any libc++ since r10. Anything built with r11 or newer should be mutually compatible as far as libc++ goes, as long as the libc++ that ends up in the APK is the newest version. Shipping a libc++ older than the one you used to compile will often not work.

Those are not tested configurations though. If you're looking for a guarantee, I can't provide one. If your app's tests work, that's a pretty good indicator that things are okay. If your app doesn't have tests, libc++ is the least of your problems :)

On Fri, May 16, 2025 at 5:06 AM ldk xingzhe <ldkxi...@gmail.com> wrote:
My App has many so, some compiled on ndk 16, some compiled on ndk21, some compiled on ndk27. How to check the compatibility of libc++_shared.so on different ndk

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/android-ndk/8ab9db09-2f35-4096-9670-fbb72cd0ffdbn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages