Lottie-android: Rendering issue

Created on 20 Apr 2017  路  16Comments  路  Source: airbnb/lottie-android

I am having issues with rendering json animation through Lottie. Everything we have done so far for iOS works fine but for some reason bits and pieces are missing randomly from animations in Android.

For example, the attached file renders with a missing bottom tongue. Can't figure out what I am doing wrong.

Should look like this:
screen shot 2017-04-20 at 11 07 31 am

But shows up like this in Android:
screen shot 2017-04-20 at 11 07 44 am

surprise-emoji.zip

Most helpful comment

I am having a similar problem, using lottie-react-native 1.1.1

ios
screen shot 2017-04-26 at 1 21 51 am

android
screen shot 2017-04-26 at 1 20 00 am

All 16 comments

@adamhairfield What version of Lottie are you using? Mine looks like this with 2.0.0-beta4
image

I am having a similar problem, using lottie-react-native 1.1.1

ios
screen shot 2017-04-26 at 1 21 51 am

android
screen shot 2017-04-26 at 1 20 00 am

1.1.1 uses 2.0.0-beta3, was this addressed in beta4 or after it maybe? i use it with expo

@sonaye can you attach the aep file?

@gpeal can't share the same animation, but i can share another one which suffers from the same issue, actually most of the animations that i have (around 30) suffer from renderrig issues on android while working perfectly on ios.

screen shot 2017-04-26 at 1 58 10 am

left: ios, right: android

disabled.zip

@sonaye This is what it looks like for me. Try scanning this qr code from the lottie sample app in the play store. It should load your animation:

image

image

This animation from LottieFiles is broken in Lottie Preview application.

@gpeal can you try it on beta3 to confirm wether this issue is specific to that version? what version did you test it on?

I have similar problem when running the demo 'LottieLogo1.json' on Android 4.4.4. A lot of lines are missing. Other demo also have same problem.
device-2017-04-27-195456

@gpeal what version did you use to test the animation, beta4? can we get a confirmation? we are trying to get this patched in expo.

@zhangsn What device is that? I am unable to repro this on any of mine.

@sonaye I don't understand your question

@gpeal what lottie-android version did you use to test here https://github.com/airbnb/lottie-android/issues/260#issuecomment-297202473, beta4?

@gpeal Thanks for the reply
Redmi 2A and a Meizu M1
image

image

They all render like this gif
ezgif-1-92e4e9d468

Same issue here, it looks like for versions under Lollipop the animation is missing quite a few lines.

@sonaye I think your issue will be fixed by this: https://github.com/airbnb/lottie-react-native/pull/129

@gpeal it completely make sense that having no decimals would cause these glitches in the drawings.

Was this page helpful?
0 / 5 - 0 ratings