sweet-alert-dialog icon indicating copy to clipboard operation
sweet-alert-dialog copied to clipboard

Bug

Open dhiashalabi opened this issue 3 years ago • 8 comments

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

dhiashalabi avatar Mar 10 '21 07:03 dhiashalabi

I am experiencing the same issue. Did you ever find a solution?

rscherf avatar Mar 19 '21 12:03 rscherf

this bug found when build with minifyEnabled true

yorigum avatar Mar 22 '21 18:03 yorigum

this bug found when build with minifyEnabled true

Yes true

dhiashalabi avatar Apr 20 '21 06:04 dhiashalabi

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"/>

dhiashalabi avatar Apr 20 '21 07:04 dhiashalabi

thank u for solution, i will try it

yorigum avatar Apr 20 '21 10:04 yorigum

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"/>

dhiashalabi avatar May 24 '21 14:05 dhiashalabi

copy res/anim folder to project edit error_frame_in.xml remove Rotate3dAnimation

joao-moniz avatar Jun 02 '21 07:06 joao-moniz

@joao-moniz may be you can do PR to fix this issue?

F0RIS avatar Jun 02 '21 10:06 F0RIS