-
Notifications
You must be signed in to change notification settings - Fork 32
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 due to missing libraries for x86
, armeabi-v7a
, armeabi
#341
Comments
Hello, same here. Crash is not limited to Google Phones. ![]() @sherbaev @shakil-bin-karim were you able to troubleshoot or mitigate the issue ? |
I'd like to bump this again as it is blocking Android submissions for us. Any Rive devs here that could give us a status? |
I've had the same issue since September 2023 (my comments here). @umberto-sonnino or @mjtalbot please can you offer some assistance. |
Introduce a NativeLoader which takes care of loading native libraries. ReLinker is not needed on API Level > 23 and causes more trouble than it solves. Refs: rive-app#341
Hi all, We'd like to get to the bottom of this - could you provide:
We're looking at #355 and potentially integrating the contribution, but we're going to need to validate it first |
Description
We are encountering a crash in our Android app for some phones when using the Rive Android library. The app crashes on startup with the following error:
androidx.startup.StartupException: com.getkeepsafe.relinker.MissingLibraryException: Could not find 'librive-android.so'. Looked for: [x86, armeabi-v7a, armeabi], but only found: [arm64-v8a].
This indicates that the librive-android.so native library is missing for certain architectures, specifically x86, armeabi-v7a, and armeabi. The app only includes the library for the arm64-v8a architecture.
Provide a Repro
The crash occurs when running the app on devices with architectures other than arm64-v8a, such as armeabi-v7a or x86.
Steps to reproduce the issue:
Source
.riv
/.rev
fileN/A – The issue occurs during app initialization, before any .riv files are loaded.
Expected behavior
The app should start without crashing, and the librive-android.so library should be correctly loaded for all supported architectures (armeabi-v7a, arm64-v8a, x86, etc.).
Screenshots
N/A
Device & Versions (please complete the following information)
arm64-v8a
architecture from manufactures like ZTE, Oppo, Older Samsung devices, etc.Additional context
Here are the full stack traces from Firebase Crashlytics:
The text was updated successfully, but these errors were encountered: