implementation "com.airbnb.android:lottie:6.4.0"
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/flightAnimation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layerType="hardware"
android:paddingTop="5dp"
android:visibility="visible"
app:lottie_autoPlay="true"
app:lottie_loop="true"
app:lottie_rawRes="@raw/coffee_anim" />
Original Image
When I Run my App
When I open the app sometimes it crashes and sometimes animation becomes flattered.
The app crashes and the error says untracked version. Please let me know what is the issue
I want to know if there is any specific version of lottie animation problem of something else.