It seems like your drawable file is missing a context tag. This could happen if you are trying to use a drawable that is not in the package it was declared in.

It’s easy to forget that when you’re using a library you need to include its manifest and package name.

The manifest or package name is what tells the system that youre using a library.

This is why you should always include the manifest on your project. We’re using the android.Manifest from the android.support.v7.widget.

When youre using the drawable that is already in the package, the manifest is probably an outdated version of the library that you are using. I’ve gotten rid of it but the new manifest would look really bad if someone tried to use it.

I am the type of person who will organize my entire home (including closets) based on what I need for vacation. Making sure that all vital supplies are in one place, even if it means putting them into a carry-on and checking out early from work so as not to miss any flights!

LEAVE A REPLY

Please enter your comment!
Please enter your name here