Open zhangle1 opened 7 years ago
魅族 5.1 我放入 svg 转的 xml文件报错 ...
大神 求支持下svg
红米4.4note是ok的
drawable animation?我是基于 ObjectAnimator拓展的
不是 就是 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失败
老哥你是魅族的吗
已炸- -
Caused by: java.lang.ClassCastException: android.graphics.drawable.VectorDrawable cannot be cast to android.graphics.drawable.BitmapDrawable