Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #53

Open
dhiashalabi opened this issue Mar 10, 2021 · 8 comments
Open

Bug #53

dhiashalabi opened this issue Mar 10, 2021 · 8 comments

Comments

@dhiashalabi
Copy link

dhiashalabi commented Mar 10, 2021

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

@rscherf
Copy link

rscherf commented Mar 19, 2021

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

@yorigum
Copy link

yorigum commented Mar 22, 2021

this bug found when build with minifyEnabled true

@dhiashalabi
Copy link
Author

this bug found when build with minifyEnabled true

Yes true

@dhiashalabi
Copy link
Author

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

@yorigum
Copy link

yorigum commented Apr 20, 2021

thank u for solution, i will try it

@dhiashalabi
Copy link
Author

dhiashalabi commented May 24, 2021

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

@joao-moniz
Copy link

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

@F0RIS
Copy link
Owner

F0RIS commented Jun 2, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants