rive-app/rive-android

Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: com.getkeepsafe.relinker.MissingLibraryException: Could not find 'librive-android.so'. Looked for: [arm64-v8a, armeabi-v7a, armeabi], but only found: [].

Closed this issue · 4 comments

I am facing the above issue with google devices mainly Pixel 6 pro , not able to reproduce it but got noticed in the firebase crashlytics

Using version 8.7.0

Device
Brand:Google
Model:Pixel 6 Pro
Orientation:Portrait
RAM free: 1.91 GB
Disk free: 1.56 GB

Using the Manifiest method to initialize

Hi @Pranathi-Cumulations this has been reported here and it is currently believed to be related only to Play Store devices and not to real users.
Going to close this issue for now, if you have a more detailed report and a repro we'd be happy to take a look at this!

@umberto-sonnino same issue happening for me in real devices. more than 30 users. spiking this issue now. please give me the solution.

Rive Version:
implementation 'app.rive:rive-android:9.0.10'

Log details:
Fatal Exception: java.lang.RuntimeException
Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stderr" referenced by "librive-android.so"...

Caused by androidx.startup.StartupException
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stderr" referenced by "librive-android.so"...

Caused by java.lang.UnsatisfiedLinkError
_dlopen failed: cannot locate symbol "stderr" referenced by "librive-android.so"...
com.getkeepsafe.relinker.SystemLibraryLoader.loadPath (SystemLibraryLoader.java:31)_

com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal (ReLinkerInstance.java:206)
com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary (ReLinkerInstance.java:136)
com.getkeepsafe.relinker.ReLinker.loadLibrary (ReLinker.java:70)
com.getkeepsafe.relinker.ReLinker.loadLibrary (ReLinker.java:51)
app.rive.runtime.kotlin.core.Rive.init (Rive.kt:42)
app.rive.runtime.kotlin.core.Rive.init$default (Rive.kt:37)

app.rive.runtime.kotlin.RiveInitializer.create (RiveInitializer.kt:34)
app.rive.runtime.kotlin.RiveInitializer.create (RiveInitializer.kt:32)
androidx.startup.AppInitializer.doInitialize (AppInitializer.java:180)

Devices

  • Samsung(Galaxy Note3, Galaxy Tab4 10.1, Galaxy Tab4 10.0)
  • Oppo Reno 9 Pro+ 5G
  • Xperia Z2 Tablet
  • YogaTablet2 -1050F

Hi @umberto-sonnino,

It seems this issue still persists. Although I can't reproduce it on my end, we've received several reports from version 9.3.6 indicating the following error:

"Could not find 'librive-android.so'. Looked for: [arm64-v8a, armeabi-v7a, armeabi], but only found: []."