-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
cn.pedant.SweetAlert.Rotate3dAnimation error:null --- Crashing #162
Comments
i have this error too |
BTW, for those still following this thread: This is happening because it's failing to turn the It's failing on this line in
I forked the repo and changed
For the record, this repo is unmaintained, and everyone should switch over to @thomper 's fork at https://github.com/pedant/sweet-alert-dialog/ which works perfectly (thanks @thomper !!). |
me too。。。。。。 |
copy res/anim folder to project |
Have I met the solution, too? |
me too facing this issue.. |
@scdhao It worked for me.
from error_frame_in.xml 3)Rebuild the project and run.. |
@kkgowtham thank you sir , its worked for me too. |
java.lang.RuntimeException appears in Android Studio 3.X using Sweet Alert Dialog: Unknown animation name: cn.pedant.SweetAlert.Rotate3dAnimation error: null error I read a lot of blogs on the Internet and said that using Sweet Alert Dialog has encountered similar problems. The solution is very strange. Some say that it is to download lib and import it into the project. Some say it is a confusion problem, in fact, the solution is very simple, you can change the added dependency library. Errored library, comment out
Add the following library
Ok run again, problem solving |
just add this to proguard-rules.pro
|
I got the solution!
|
This one is working perfectly fine. Applying the above mentioned proguard rule in project. |
Solved this , thanks |
with already a working solution why can this not be added to the codebase of this library? |
@AustineGwa the maintainer, @pedant has been missing in action for a long time. I believe F0ris keeps his fork here up to date: https://github.com/F0RIS/sweet-alert-dialog |
@thomper Thanks will follow the other |
how to move because in thompas git there is not implementation link |
FATAL EXCEPTION: main
Process: com.app.gofoodie, PID: 4704
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.(SweetAlertDialog.java:80)
at com.app.gofoodie.activity.derived.CartOrderActivity.menuProceed(CartOrderActivity.java:280)
at com.app.gofoodie.activity.derived.CartOrderActivity.onOptionsItemSelected(CartOrderActivity.java:109)
at android.app.Activity.onMenuItemSelected(Activity.java:3206)
at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:360)
at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:194)
at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:110)
at android.support.v7.app.AppCompatDelegateImplV9.onMenuItemSelected(AppCompatDelegateImplV9.java:676)
at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:821)
at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:158)
at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:968)
at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:958)
at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:623)
at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:147)
at android.view.View.performClick(View.java:5675)
at android.view.View$PerformClick.run(View.java:22646)
at android.os.Handler.handleCallback(Handler.java:836)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6251)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1075)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
The text was updated successfully, but these errors were encountered: