java.lang.ClassCastException: android.graphics.drawable.StateListDrawable cannot be cast to andro...
背景:Android8.0之后图标需要兼容方案多了个圆形的图标兼容完之后获取图标出现了java.lang.ClassCastException:android.graphics.drawable.StateListDrawablecannotbecasttoandroid.graphics.drawable.BitmapDrawable