lizuojing / android-unused-resources

Automatically exported from code.google.com/p/android-unused-resources
0 stars 0 forks source link

Unused colors are still in the list after removing them from resources #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate list of unused resources
2. remove unused colors
3. Generate list of unused resources

What is the expected output? What do you see instead?
I expect to see no color, but they are still in the list

Original issue reported on code.google.com by ti...@ametov.net on 14 Apr 2011 at 1:10

GoogleCodeExporter commented 8 years ago
Did you rebuild the project after removing the unused colors?  Do you have the 
colors defined elsewhere (values-xlarge or something like that)?

This program uses the generated R.java file to determine what resources exist, 
and does not use a cache, so either R.java hasn't been regenerated, or you 
still have the resources.

If you're sure the project was rebuilt, and that you don't have them defined 
elsewhere, could you attach your project to this issue, so that I can take a 
closer look?

Original comment by skenned...@gmail.com on 20 May 2011 at 5:34

GoogleCodeExporter commented 8 years ago
Doesn't make sense (if the resources aren't in R.java, then there's no way 
AndroidUnusedResources could find them), and no response.

Original comment by skenned...@gmail.com on 24 Aug 2011 at 1:51