airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
29.85k stars 2.85k forks source link

Bodymovin exports blank AVD #3037

Open MikeMcJay opened 8 months ago

MikeMcJay commented 8 months ago

Environment

Hi! I am trying to create a splashscreen for my Android app and want to export an AVD XML file of my animation. Unfortunately, although the .xml file is produced, it simply appears blank when imported into Android Studio and played back.

image

I know that this is not an issue with Android Studio as I imported another AVD XML file from Google and this works fine. Additionally, uploading the animation as a lottie .json file to lottiefiles showed the animation working fine so I think this is an issue just with exporting as an AVD XML file.

I tried a combination of different settings but with no luck:

I was wondering whether this was perhaps due to the animation itself. I have essentially two paths with points that are being translated to mimic an arm flex so maybe the exporter doesn't know how to handle this?

Below is my project to see what I mean. I apologise if this is a simple issue I'm new to Bodymovin and After Effects haha :)

splashscreen.zip