-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lottie-react-native] Lottie crash on Android #8011
Comments
The issue is common for importing Lottie v3 files. Try to downgrade to v2 that will resolve the issue. |
Hi @maxgfr! Thanks for the issue report. And thanks to @mashuk999, for the quick reply 馃槃 Unfortunately, we can't upgrade (yet) to lottie v3. That's why you have to export your assets for older lottie versions. Does this work for you? Hope it helps! |
Indeed, after exporting in V2 files, the android application doesn't crash. Nevertheless, it could be interesting to understand why lottie v3 is crashing on android only... Like this, we could fix the bug :p Thanks for your message @byCedric and @mashuk999 ! |
Is there any way to export V3 files to V2 files when .JSON files has been downloaded from lottiefiles.com |
I am wondering the same about converting animations - I have json files already and am wondering how to convert them |
Hey there, any updates if this is possible? |
Can we reopen this issue? @maxgfr |
Same problem here. |
exactly same issue here too, downloaded from lottiefiles.com, some idea how to convert them? |
Same problem here. Lottie still crashes |
same here |
1 similar comment
same here |
I know I have posted a workaround above, but in an ejected app it's possible to update Is there a reason expo can't bump up their managed workflow versions? |
From what I understand they want/need to do it in a different way? |
What workaround are you talking about? Right now I am having to use gif in my android app... |
same here... |
we don't plan on bumping the lottie dependency until SDK 41 at the earliest, and so you have to use a version of lottie animations that are compatible with your installed lottie version. sorry about the hassle! |
馃悰 Bug Report
Environment
Steps to Reproduce
This bug is not present on iOS. So, you have to run an Android Virtual Device (AVD) on Android 10. Here is a screenshot of my device : https://prnt.sc/s5rhpl
Then, you can try to run an application which uses
lottie-react-native
library.Don't forget to add this to your code :
Expected Behavior
The application is not crashing...
Actual Behavior
Expo application is crashing with no error message, it can't run the code.
Reproducible Demo
I created a repo that you can clone and run here : https://github.com/maxgfr/expo-lottie
The text was updated successfully, but these errors were encountered: