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

App Crash on Rive Initialisation #334

Open
devesh053 opened this issue Aug 19, 2024 · 3 comments
Open

App Crash on Rive Initialisation #334

devesh053 opened this issue Aug 19, 2024 · 3 comments

Comments

@devesh053
Copy link

Hi team ,
I am updating the rive version from 5.0.0 to 9.6.4.
I am using OnePlus9 with android 14.

App is crashing on app launch with stack trace :
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/data/tech.vance.app.debug/app_lib/librive-android.so"...
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:136)
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:42)
at app.rive.runtime.kotlin.core.Rive.init$default(Rive.kt:37)
at app.rive.runtime.kotlin.RiveInitializer.create(RiveInitializer.kt:34)
at app.rive.runtime.kotlin.RiveInitializer.create(RiveInitializer.kt:32)
at androidx.startup.AppInitializer.doInitialize(AppInitializer.java:180)

@HayesGordon
Copy link
Contributor

Hi @devesh053, can you try cleaning your build folder and trying with a fresh build

@devesh053
Copy link
Author

Hi @HayesGordon , I tried that also. Still facing the above mentioned error.

@umberto-sonnino
Copy link
Contributor

Hi @devesh053 are you only seeing this on OnePlus 9 devices? Does this repro on an Android 14 emulator? Can you share a reproducible example that we can run?

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