Closed
Description
I'm using a proprietary native library, which compiled with newer version of libgnustl_shared.so than RN. This results to application crash:
Native library failed to load: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZSt24__throw_out_of_range_fmtPKcz"
I tried:
- Putting a new version of the library (from Android NDK) into jniLibs directory - but older RN library wins.
- Using third-party
libgnustl_shared.so
library with conflict resolution using packagingOptionspickFirst 'lib/*/libgnustl_shared.so'
- but react library wins.
How can I put into my apk libgnustl_shared.so library not from React Native?