Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Now I am trying to get rid of the PNG files and replace them with vectors, but I am not having much success. So for example if I start by replacing the ad.png file (Andorra flag) with a vector image with the same name (ad.xml) so my drawable folder now looks like this
So what happens when I start the app? Well a few things have happened. First there were a few times where a launched the app with no problems, also launched the dialog with no problems and the image was showing up correctly. There were also times when the app wouldn't even launch. There were also times where the app would start but when I try to open the dialog it would crash with this error: Resources$NotFoundException #0x7f07005e. The third one seems to be the most common.
So I when got that error I went online and searched for solutions and tried some solutions which did not work (obviously) like: cleaning the project, rebuilding the project, invalidating caches and restarting android studio, adding some lines to my gradle file (I don't remember exactly what it was). Basically I've tried every possible solution I could find on the internet and nothing has worked.
Any suggestions would be appreciated and also if you need any additional information I would be more than happy to provide it. Thanks for reading!
- NOTE: From what I know vector drawables are supported from API level 21 and my app's minimum API level is 21. So I don't think it is a compatibility issue.