Caused by android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08012e
at android.content.res.ResourcesImpl.getResourceName(ResourcesImpl.java:253)
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:760)
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:630)
at android.content.res.Resources.loadDrawable(Resources.java:886)
at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:953)
at android.content.res.TypedArray.getDrawable(TypedArray.java:928)
I got this as error logs from firebase. It's only happening on Nexus 5X Oreo 8.1 Also the resource for which xml ImageView is searching for is already available in these drawable folders:
- drawable-hdpi
- drawable-mdpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable-xxxhdpi
Its just a small png icon, so size isn't the issue. The project's min supported sdk is API Level 21 and I have already tried running it in an emulator but crash didn't occur.
So, I need a proper fix and way of regenerating this if possible...just to check if it's fixed or not.
Thank you!