airbnb / lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native
http://airbnb.io/lottie/
Apache License 2.0
34.95k stars 5.4k forks source link

Device compatibility issues #2453

Closed hc79879 closed 7 months ago

hc79879 commented 7 months ago

Lottie is supported and developed on nights and weekends. Issues from Lottie sponsors will be prioritized.

If you don't use this template, your issue will be closed. Delete this text once completed.

Checklist

  1. Fork this repository into your account.
  2. Reproduce your issue in the issue-repro module. Issues without a repro in the issue-repro module may be auto-closed.

Link to fork with a repro in the issue-repro module

Describe the bug

My lottie can play normally on Android devices, except on the Redmi Pad where it can only display but cannot play animations

Steps To Reproduce Steps to reproduce the behavior:

<com.airbnb.lottie.LottieAnimationView android:id="@+id/animLottie" android:layout_width="match_parent" android:layout_height="@dimen/dp_300" android:layout_centerInParent="true" app:lottie_autoPlay="true" app:lottie_fileName="scan_code.json" app:lottie_loop="true" /> scan_code.json[scan_code.json]