rive-app/rive-android

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

Opened this issue · 1 comments

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

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?