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

Crash in RiveDynamicLibraryHelper._openAndroidDynamicLibraryWithFallback #440

Open
alihassan143 opened this issue Dec 13, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@alihassan143
Copy link

Description

Invalid argument(s): Failed to load dynamic library '/data/data/com.enzipe.imagetotext/lib/librive_text.so': dlopen failed: library "/data/data/com.enzipe.imagetotext/lib/librive_text.so" not found

new DynamicLibrary.open (dart:ffi)
RiveDynamicLibraryHelper._openAndroidDynamicLibraryWithFallback (dynamic_library_helper.dart:66)
RiveDynamicLibraryHelper.open (dynamic_library_helper.dart:45)
RiveDynamicLibraryHelper.nativeLib (dynamic_library_helper.dart:14)
.init (rive_text_ffi.dart)
.initFont (rive_text_ffi.dart)
Font.initialize (rive_text.dart:461)
RiveFile.initialize (rive_file.dart:392)
RiveFile._initTextAndImport (rive_file.dart:414)
RiveFile.asset (rive_file.dart:444)
RiveAnimationState._configure (rive_animation.dart:212)

rive: ^0.13.17

@alihassan143 alihassan143 added the bug Something isn't working label Dec 13, 2024
@HayesGordon
Copy link
Contributor

Hi @alihassan143,

Did openAndroidDynamicLibraryWithFallback work for you in a previous version of the runtime?
Are you able to reproduce this locally? If so, can you give information on the device.

@alihassan143
Copy link
Author

their is no issue with the previous version its happening with last 2 releases

@HayesGordon
Copy link
Contributor

And you can reproduce this locally? On what device (or all)?

@alihassan143
Copy link
Author

no firebase crashlytics detecting this
prevuious versions did not contains these error

@alihassan143
Copy link
Author

@HayesGordon
Galaxy J7 Android 6.0.1
Plume P6 Pro LTE Android 6.0
Galaxy J7(2016) Android 6.0.1
Oppo CPH1701 Android 6.0.1
Vivo Y55s Android 6.0.1
Samsung Galaxy Grand Prime Plus Android 6.0.1

Alps 8227L_demo Android 8.1Go
Oppo CPH1609 Android 6.0
Samsung galaxy j2pro Android 6.0.1

@alihassan143
Copy link
Author

alihassan143 commented Dec 25, 2024

i think its mostly happening with android 6.0.1 and go version of android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants