Home > Back-end >  Android Studio, drawable is only available in debug mode
Android Studio, drawable is only available in debug mode

Time:12-19

So I have a drawable that I am using in my project - it is a .png file I created using Aseprite, and I have quite a few of them. Some of the first ones I added seem to not be flagged as debug only, but many of the later ones are tagged as such. Attached is an example image of what I am talking about - is there any way to change the image to be available in release as well? debug_only

CodePudding user response:

You added the drawable to use only in debug mode.Move that image to drawable root. Or Refactor > Move file and change the directory as follows (base directory of Drawable)

enter image description here

  • Related