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

meuzu 5.1 报错 #3

Open
zhangle1 opened this issue Nov 18, 2016 · 6 comments
Open

meuzu 5.1 报错 #3

zhangle1 opened this issue Nov 18, 2016 · 6 comments

Comments

@zhangle1
Copy link

已炸- -
Caused by: java.lang.ClassCastException: android.graphics.drawable.VectorDrawable cannot be cast to android.graphics.drawable.BitmapDrawable

@zhangle1
Copy link
Author

魅族 5.1 我放入 svg 转的 xml文件报错 ...

@zhangle1
Copy link
Author

大神 求支持下svg

@zhangle1
Copy link
Author

红米4.4note是ok的

@MartinRGB
Copy link
Owner

drawable animation?我是基于 ObjectAnimator拓展的

@zhangle1
Copy link
Author

不是 就是 app:img 设置图片 如果放的是 svg 转的xml 矢量图 那么在 5.1的魅族手机里会蹦 ,但是放png图片是好的 android 提示我的是Caused by: java.lang.ClassCastException: android.graphics.drawable.VectorDrawable cannot be cast to android.graphics.drawable.BitmapDrawable失败

@MartinRGB
Copy link
Owner

老哥你是魅族的吗

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

2 participants