Skip to content

could not found 'libjnirivebridge.so'. Looked for: [x86], but only found: []. #305

Closed

Description

@devesh053

stacktrace from crashlytics

Fatal Exception: java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: com.getkeepsafe.relinker.MissingLibraryException: Could not find 'libjnirivebridge.so'. Looked for: [x86, armeabi-v7a, armeabi], but only found: [].
at android.app.ActivityThread.installProvider(ActivityThread.java:6396)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5938)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5853)
at android.app.ActivityThread.access$1100(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Devices

Android 9 , Android 8 device with x86 architecture

Activity

  1. umberto-sonnino commented on Sep 25, 2023

    @umberto-sonnino
    Contributor

    Hi @devesh053, can you give us a repro for this issue?
    Also, could you provide more details about your setup? For example, your setup, the rive-android version you're using, your SDK, etc.?
    In fact, libjnirivebridge.so isn't used anymore in our latest versions, have you tried upgrading?

  2. added
    questionFurther information is requested
    needs reproThe issue doesn't have clear steps to reproduce the issue
    on Sep 25, 2023
  3. devesh053 commented on Sep 25, 2023

    @devesh053
    Author

    Hi ,
    This issue is happening only on x86 architecture and on crashlytics it was showing Google mainline device.
    I was using rive version 5.0.0 in my app.

  4. DJPretorius commented on Sep 26, 2023

    @DJPretorius

    I was having a similar problem and @umberto-sonnino suggested I should upgrade the library to v8.3.0. Thats the second to newest version on Maven Central. Now I'm getting an UnsatisfiedLinkError when I run my app on Android API 21.
    The error reads java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stderr" referenced by "/data/data/co.example.app/app_lib/librive-android.so"...

  5. devesh053 commented on Sep 26, 2023

    @devesh053
    Author

    @umberto-sonnino will upgrading to rive version 6.0.0 resolve the issue ?

  6. devesh053 commented on Sep 27, 2023

    @devesh053
    Author

    Hi @devesh053, can you give us a repro for this issue? Also, could you provide more details about your setup? For example, your setup, the rive-android version you're using, your SDK, etc.? In fact, libjnirivebridge.so isn't used anymore in our latest versions, have you tried upgrading?

    Right now , I am using 5.0.0 , will upgrading it to 6.0.0 will resolve the issue . Not sure of taking version 7.0.0 to production

  7. umberto-sonnino commented on Sep 27, 2023

    @umberto-sonnino
    Contributor

    @umberto-sonnino will upgrading to rive version 6.0.0 resolve the issue ?

    Without a repro, I can't tell for sure.
    Past reports mentioned that this error was coming up only in the Play Store - are you sure that these are tied to real users?
    I'd highly recommend upgrading anyway, we changed the build process significantly in the latest iterations, and that might solve this issue for you.

  8. umberto-sonnino commented on Sep 27, 2023

    @umberto-sonnino
    Contributor

    I was having a similar problem and @umberto-sonnino suggested I should upgrade the library to v8.3.0. Thats the second to newest version on Maven Central. Now I'm getting an UnsatisfiedLinkError when I run my app on Android API 21. The error reads java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stderr" referenced by "/data/data/co.example.app/app_lib/librive-android.so"...

    @DJPretorius this is a different bug as reported here. It's still unresolved and it seems to happen only on v21 devices

  9. devesh053 commented on Sep 28, 2023

    @devesh053
    Author

    @umberto-sonnino will upgrading to rive version 6.0.0 resolve the issue ?

    Without a repro, I can't tell for sure. Past reports mentioned that this error was coming up only in the Play Store - are you sure that these are tied to real users? I'd highly recommend upgrading anyway, we changed the build process significantly in the latest iterations, and that might solve this issue for you.

    This bug is not happening to real users , only happening to play store devices with x86 architecture .

  10. umberto-sonnino commented on Oct 4, 2023

    @umberto-sonnino
    Contributor

    @umberto-sonnino will upgrading to rive version 6.0.0 resolve the issue ?

    Without a repro, I can't tell for sure. Past reports mentioned that this error was coming up only in the Play Store - are you sure that these are tied to real users? I'd highly recommend upgrading anyway, we changed the build process significantly in the latest iterations, and that might solve this issue for you.

    This bug is not happening to real users , only happening to play store devices with x86 architecture .

    If that's the case, I highly recommend upgrading to the latest version and checking if it still applies. The current report is related to an old version of this runtime.

  11. ErikUggeldahl commented on Sep 29, 2025

    @ErikUggeldahl
    Collaborator

    Hi all. Closing this issue as stale. It's possible that the crashes are Play Store runners. If this occurs in a modern version of the SDK (v10+) we can consider re-opening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs reproThe issue doesn't have clear steps to reproduce the issuequestionFurther information is requested

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions