Android: getting Resources$NotFoundException for abc_ic_ab_back_material

The answer to this turned out to be buried at the bottom of this guide:

It turns out that all you need to add this line in at the beginning of the activity that will use the resource:

static {

Please make sure you are using AppCompatActivity instead Activity. If you’re using AppCompat’s theme, then you also need to use it’s Activity.

Leave a Comment