I have many unused (hundreds) png drawables in drawable-hdpi, drawable-xhdpi... folders. Lint check gives me only unused layouts, strings, animations and xml drawables, but not png drawables. Another tool android-unused-resources gives me "0 resources found". I've checked, that drawables really unused (I have searched on a whole project for drawable name, tried to delete drawable and it was OK). Why so that and how to make lint detect them as "unused"?
From your comment:
I have a lint.xml file and it have many "issue", one of them: <issue id="UnusedResources" severity="ignore" />
It seems that your Lint is configured to ignore unused resources.
To change that, go in Eclipse > Preferences > Android > Lint Error Checking
and either search for the UnusedResources issues, or look under the Performance tab and change the severity of this issue to at least Information or Warning, or even something more severe, as you wish.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With