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

点击状态图1会闪退 #92

Open
ziyouxiaozi opened this issue Aug 4, 2020 · 0 comments
Open

点击状态图1会闪退 #92

ziyouxiaozi opened this issue Aug 4, 2020 · 0 comments

Comments

@ziyouxiaozi
Copy link

编译的demo点击状态图1会闪退,而且图片不是动态的显示的;但是从你的网址下载的apk是动态图的,点击是不会闪退的?
这是因为什么呢?以下是报错信息:
2020-08-04 11:40:05.911 21778-21778/com.coorchice.supertextview E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.coorchice.supertextview, PID: 21778
java.lang.ClassCastException: android.graphics.drawable.VectorDrawable cannot be cast to com.coorchice.library.gifdecoder.GifDrawable
at com.coorchice.supertextview.MainActivity$5.onClick(MainActivity.java:141)
at android.view.View.performClick(View.java:7252)
at android.view.View.performClickInternal(View.java:7229)
at android.view.View.access$3500(View.java:821)
at android.view.View$PerformClick.run(View.java:27765)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7551)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

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

1 participant