8000 Old version of libgnustl_shared.so inside react-native on Android · Issue #20672 · facebook/react-native · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Old version of libgnustl_shared.so inside react-native on Android #20672
Closed
@scriptum

Description

@scriptum

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:

  1. Putting a new version of the library (from Android NDK) into jniLibs directory - but older RN library wins.
  2. Using third-party libgnustl_shared.so library with conflict resolution using packagingOptions pickFirst 'lib/*/libgnustl_shared.so' - but react library wins.

How can I put into my apk libgnustl_shared.so library not from React Native?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: AndroidAndroid applications.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0