Lottie-android: Proguard question for lottie

Created on 29 May 2018  路  2Comments  路  Source: airbnb/lottie-android

Warning: com.airbnb.lottie.utils.BaseLottieAnimator: can't find referenced method 'void onAnimationStart(android.animation.Animator,boolean)' in library class android.animation.Animator$AnimatorListener
Warning: com.airbnb.lottie.utils.BaseLottieAnimator: can't find referenced method 'void onAnimationEnd(android.animation.Animator,boolean)' in library class android.animation.Animator$AnimatorListener

Most helpful comment

It's good to add the following

-dontwarn com.airbnb.lottie.*
-keep class com.airbnb.lottie.
* {*;}

All 2 comments

It's good to add the following

-dontwarn com.airbnb.lottie.*
-keep class com.airbnb.lottie.
* {*;}

That's just a lazy solution. Might as well turn off minify.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dpmaycry picture dpmaycry  路  3Comments

nick1Jian picture nick1Jian  路  3Comments

Qamar4P picture Qamar4P  路  3Comments

leleliu008 picture leleliu008  路  4Comments

goldyonwar picture goldyonwar  路  4Comments