sweet-alert-dialog
sweet-alert-dialog copied to clipboard
Unknown animation name
rocess: production.kado.lock, PID: 22429
java.lang.RuntimeException: Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:null
at cn.pedant.SweetAlert.OptAnimationLoader.createAnimationFromXml(OptAnimationLoader.java:77)
at cn.pedant.SweetAlert.OptAnimationLoader.createAnimationFromXml(OptAnimationLoader.java:64)
at cn.pedant.SweetAlert.OptAnimationLoader.createAnimationFromXml(OptAnimationLoader.java:41)
at cn.pedant.SweetAlert.OptAnimationLoader.loadAnimation(OptAnimationLoader.java:22)
at cn.pedant.SweetAlert.SweetAlertDialog.
why are you using reflection?
I also got same issue.
I also got same issue.
Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:null
Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:null
same issue here :( trying to solve the problem at the moment
you can fix in anim/error_frame_in.xml: <app:<your_package>.Rotate3dAnimation app:rollType="x" app:fromDeg="100" app:toDeg="0" app:pivotX="50%" app:pivotY="50%" android:duration="400"/>
#leruyn where to use this?
I am also facing the same issue. Is there any solution for this? This issue occurs in release apk, and in debug apk its working fine.
Fatal Exception: java.lang.RuntimeException Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error:cn.pedant.SweetAlert.Rotate3dAnimation cn.pedant.SweetAlert.OptAnimationLoader.loadAnimation cn.pedant.SweetAlert.OptAnimationLoader.loadAnimation (Unknown Source)
This is the issue that i got from fabric crashlytics
same issue.
@nonoman62 you can fix it in anim/error_frame_in.xml
implementation 'com.github.f0ris.sweetalert:library:1.5.1' try this, is the same library
just do it -keep class cn.pedant.SweetAlert.Rotate3dAnimation { public <init>(...); }
implementation 'com.github.f0ris.sweetalert:library:1.5.1' try this, is the same library
good .
You can try: <app:<your_package>.Rotate3dAnimation app:rollType="x" app:fromDeg="100" app:toDeg="0" app:pivotX="50%" app:pivotY="50%" android:duration="400"/>
有用