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

LottieComposition loaded but animation not show #1601

Closed
AlexMercier opened this issue Jul 26, 2020 · 0 comments · Fixed by #1612
Closed

LottieComposition loaded but animation not show #1601

AlexMercier opened this issue Jul 26, 2020 · 0 comments · Fixed by #1612

Comments

@AlexMercier
Copy link

Describe the bug
Some of the animations not show by lottie library. This animations is a color modification of another animations from telegram stickers. The original animations played normal with lottie library, but color modified animations not work. I don't know what modified in this animations (I'm not a author of modifications) but Telegram App show this normal, and Lottie Preview Page for testing json animations show that test passed.

What version of Lottie did you test this on?
3.4.1

What version of Android did you test this on?
Android 9 and Android 10.

Steps To Reproduce

  1. Just load json animation to lottieView
  2. See... nothing. No error in logcat. No animation in view.

My code for load animation:

LottieComposition lottieComposition= LottieCompositionFactory.fromAssetSync(mContext, "001.json").getValue();
lottieView.setComposition(lottieComposition);
lottieView.playAnimation();

Files for testing:
GreenCherry.zip
NewSteamyJulia.zip
WhiteHonka.zip

Checklist

  1. My animation doesn't use any unsupported features.
  2. I know what part of my animation doesn't work.
  3. I have created a simplified version of my animation
  4. I have attached the AEP file (as a zip file so it can be attached) that only has the part of the animation that doesn't work.

Lottie is supported and developed on nights and weekends. Please consider sponsoring Lottie to prioritize this issue and help support this issue as well as future investments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant