0

Running into few users getting Resources$NotFoundException from fetching a Drawable resource that's a png:

ResourcesCompat.getDrawable(context.getResources(), R.drawable.ic_clear_black_24dp, null)

I double checked that this Drawable is in res/drawable (as well as mdpi, hdpi to xxxhdpi) but it's still showing up on Crashlytics for some users. I see one on Xiaomi, Huawei, and Motorola. Any idea why this happening for some device and a workaround?

ono
  • 2,984
  • 9
  • 43
  • 85

0 Answers0