> For the complete documentation index, see [llms.txt](https://airbnb.gitbook.io/lottie/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://airbnb.gitbook.io/lottie/android/lottie-vs-avd.md).

# 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:<br>

![AVD](/files/-L7jVVjt3YsSl9c_wFN0)

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://airbnb.gitbook.io/lottie/android/lottie-vs-avd.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
