Skip to content Skip to sidebar Skip to footer

Android Resources$notfoundexception Crash Report

I have been receiving the same crash report throwing an android.content.res.Resources$NotFoundException error complaining of a missing resource ID. Could anyone please shed some l

Solution 1:

Change styles.xml theme ...

<stylename="AppTheme.Base"parent="Theme.AppCompat.Light.NoActionBar"><itemname="colorPrimary">#673AB7</item><itemname="colorPrimaryDark">#512DA8</item><itemname="colorAccent">#00BCD4</item><itemname="android:textColorPrimary">#212121</item><itemname="android:textColorSecondary">#727272</item></style>

works for me when i remove the android:textColorPrimary and android:textColorSecondary theme items.

<stylename="AppTheme.Base"parent="Theme.AppCompat.Light.NoActionBar"><itemname="colorPrimary">#673AB7</item><itemname="colorPrimaryDark">#512DA8</item><itemname="colorAccent">#00BCD4</item></style>

Solution 2:

Solved! I just moved the XML drawables to the drawable/ folder. Works like magic. Thanks to @ligi.

VectorDrawableCompat Resources$NotFoundException on KitKat and below

Post a Comment for "Android Resources$notfoundexception Crash Report"