# Lottie vs AVD

There are two ways to render After Effects animations:\
1\. Export json with Bodymovin and play it with lottie-android.\
2\. Export AndroidVectorDrawable xml with Bodymovin and play it using the Android SDK.

## Pros of Lottie

* Supports a much larger set of After Effects features. See [supported features](https://github.com/AaronO/lottie/tree/de10ddf848bcb673029ae78ceed5fce8fc245c19/after-effects/supported-features.md) for a full list.
* Manually set progress to hook up an animation to a gesture, event, etc.
* Download animations from the network.
* Dynamic playback speed.
* Masks are anti-aliased.
* Dynamically change the color of a specific part of an animations

## Pros of AnimatedVectorDrawable

* Faster peformance due to the animation running on the [RenderThread](https://medium.com/@workingkills/understanding-the-renderthread-4dc17bcaf979) vs the main thread.

## Bodymovin AVD exporter

Bodymovin can export some animations directly as AVDs if they suit your needs better.\
To do so, just check the AVD checkbox in the bodymovin settings:\


![AVD](https://39046799-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L7UKB3__ghSEyrZYnig%2F-L7jVMHkEHArhgapBG5x%2F-L7jVVjt3YsSl9c_wFN0%2FBodymovinAvd.png?generation=1521215481051960\&alt=media)

\
This support is very experimental and only supports a subset of the functionality of lottie and avd.
