GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing pub.dev — android_libcpp_shared | Dart package → MetadataDart / flutter package for Android to add the libc++_shared.so STL C++ shared runtime library to your app More... android_libcpp_shared #Dart / flutter package for Android to add the libc++_shared.so STL C++ shared runtime library to your app Usage #Prerequisites #You obviously need dart/flutter installed, but in addition you must have the Android NDK installed. This package does its best to find the NDK install location during the build hook step. How the library is found #During the build hook,
A candidate is only used once it has been verified to exist and to be an ELF shared object, so an incomplete NDK installation is skipped in favour of the next one rather than producing a build that fails later. If nothing usable is found the build hook fails with the full list of NDKs considered and files checked - please include that output when reporting an issue. Overriding the location #If the library lives somewhere this package does not look, point it at the file directly in your application's
The Both settings also accept the root of an NDK installation, in which case that NDK is used in preference to any other. Adding the dependency #Add the package to your pubspec.yaml dependencies:
You don't need to import anything into your Dart code, the dependency is sufficient to bundle the native library with your app. The package does include an optional API if you want to directly use functions from Gradle configuration #Consider adding Your entire
Once Flutter has migrated to a newer gradle / android gradle plugin version, these instructions may change. Optional API #If you want to directly use functions from
License #This project is licensed under the MIT License. See the LICENSE file for details. Parts of the NDK locating code are adapted from the Dart native_toolchain_c package, which is licensed under a BSD-style license. See the NATIVE_LICENSE file for details. ← Metadata1 likes 160 points 11.5k downloads DocumentationPublisherWeekly DownloadsMetadataDart / flutter package for Android to add the libc++_shared.so STL C++ shared runtime library to your app Homepage License
Dependenciescode_assets, glob, hooks, logging, native_toolchain_c MoreBack |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |