sweet-alert-dialog
sweet-alert-dialog copied to clipboard
Bug
When I released my apk in android studio it makes my app to crash but in debug mode it does not. I am using Kotlin. The crash caused by this. java.lang.RuntimeException: Unknown animation name: pedant.SweetAlert.Rotate3dAnimation
I am experiencing the same issue. Did you ever find a solution?
this bug found when build with minifyEnabled true
this bug found when build with minifyEnabled true
Yes true
I am experiencing the same issue. Did you ever find a solution?
Just set minifyEnabled false And problem solved Or try to access the file named
sweet-alert-dialog/library/src/main/res/anim/error_frame_in.xml
Then delete this
sweet:cn.pedant.SweetAlert.Rotate3dAnimation sweet:rollType="x" sweet:fromDeg="100" sweet:toDeg="0" sweet:pivotX="50%" sweet:pivotY="50%" android:duration="400"/>
thank u for solution, i will try it
I am experiencing the same issue. Did you ever find a solution?
Try this.
Just set minifyEnabled false And problem solved Or try to access the file named
sweet-alert-dialog/library/src/main/res/anim/error_frame_in.xml
Then delete this
sweet:cn.pedant.SweetAlert.Rotate3dAnimation sweet:rollType="x" sweet:fromDeg="100" sweet:toDeg="0" sweet:pivotX="50%" sweet:pivotY="50%" android:duration="400"/>
copy res/anim folder to project edit error_frame_in.xml remove Rotate3dAnimation
@joao-moniz may be you can do PR to fix this issue?