android_libcpp_shared
Dart / flutter package for Android to add the libc++_shared.so STL C++ shared runtime library to your app
What this package is like to depend on
Last release 5 days ago
18 Aug 2026
Ships on a steady schedule
a new release about every 6 weeks
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
5 months old
5 releases · first in 2026
5 releases in the last 12 months
see the full history below
Release timeline
5 releases · Mar 2026 to Aug 2026Releases
latest 5-
0.3.018 Aug 2026Release notes
Open source →- Updated example to not use the kotlin gradle plugin (removing the warning when building the example)
- BREAKING: Updated the
code_assetsdependency to^2.0.0, see code_assets changelog - Updated
hooksto^2.2.0 - Updated
native_toolchain_cto^0.19.4 - Updated
testdev dependency to^1.31.2
-
0.2.112 Aug 2026Release notes
Open source →- Fixed NDK path resolution on Windows by using
USERPROFILEand normalizing path separators. Thanks @kekland and @AttalliAyoub for the PRs and Issue (#2). - Fixed
runProcessfailing with aFormatExceptionon non-English Windows by decoding process output with the system encoding. Thanks @wyq0918dev for the PR / Issue (#4). - The build hook now verifies that
libc++_shared.soexists and is an ELF shared object before emitting it: thanks to @chillbrodev for the Issue (#5). - An NDK that does not contain the library for the target architecture is now skipped in favour of the next installation, instead of failing the build.
- Added the legacy
sources/cxx-stl/llvm-libc++/libs/<abi>/location used by NDK r22 and older as a fallback. - The NDK the Flutter tool is building with is now used first, derived from the compiler in the build config.
- Added
sdk.dir/ndk.dirfrom the project'slocal.properties,flutter config --android-sdk,ndk-bundledirectories and more well known SDK locations to NDK discovery. - Fixed NDK installations in
PATHnever being detected, because the search directory forndk-buildwas incorrect. - Added the
libcpp_shared_pathuser define and theANDROID_LIBCPP_SHARED_PATHenvironment variable to override where the library comes from. - Failures report each NDK and file checked, and it is looged by the build hook.
- Added
ia32mapped tox86.
- Fixed NDK path resolution on Windows by using
-
0.2.004 Jun 2026Release notes
Open source →- Updated
native_toolchain_cto0.19.0. - Updated
hooksto2.0.2. - Updated
exampleKotlin version to2.3.20,com.android.applicationto9.0.1andgradleto9.1.0. - Added documentataion about adding
--enable-native-access=ALL-UNNAMEDtoorg.gradle.jvmargsingradle.properties. - Added
--enable-native-access=ALL-UNNAMEDtoorg.gradle.jvmargsinexample/android/gradle.properties.
- Updated
-
0.1.122 Apr 2026 -
0.1.023 Mar 2026