Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found #315

Open
GOVINDDIXIT opened this issue Feb 19, 2024 · 2 comments

Comments

@GOVINDDIXIT
Copy link

GOVINDDIXIT commented Feb 19, 2024

Description

Getting following issue while initialising rive for Vivo and Oneplus devices

Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found: needed by /data/data/com.dreamplug.androidapp/app_lib/librive-android.so in namespace clns-5
       at java.lang.Runtime.load0(Runtime.java:933)
       at java.lang.System.load(System.java:1625)
       at com.getkeepsafe.relinker.SystemLibraryLoader.loadPath(SystemLibraryLoader.java:31)
       at com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(ReLinkerInstance.java:206)
       at com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:133)
       at com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:70)
       at com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:51)
       at app.rive.runtime.kotlin.core.Rive.init(Rive.kt:43)
       at app.rive.runtime.kotlin.core.Rive.init$default(Rive.kt:38)
       at com.dreamplug.fabrik.ui.main.MainActivity$onCreate$1.invokeSuspend(MainActivity.kt:246)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
       at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
       at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:5793)

Provide a Repro

Just initialising the Rive is able to repro the crash

Device & Versions (please complete the following information)

  • Device:
    Brand: Vivo
    Model: X90

  • SDK Level
    Android 14 (API level 34)

  • rive version
    using v8.5.0

@umberto-sonnino
Copy link
Contributor

Hi @GOVINDDIXIT, we also test against a OnePlus 7Pro on our end and everything runs smoothly over here.
Which OnePlus device are you seeing this on? Are you seeing this by just running the example app in this repo?

@DJPretorius
Copy link

Hi @umberto-sonnino I am unable to reporduce this crash but I have reports on Crashlytics indicating the same crash as mentioned above.

  • Devices:
    Samsung Gallaxy J4 Core
    Samsung Gallaxy A2 Core

100% of affected devices are running Android 8.

  • Rive version: 8.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants