First of all, great tool! It was really helpful in identifying resources that
are no longer in use and ones that I thought had been in used and found a bug
in my code.
What steps will reproduce the problem?
1. Create 2 android projects, one being a library, and the other referencing
it.
https://developer.android.com/guide/developing/projects/projects-cmdline.html#Re
ferencingLibraryProject
2. Add and reference some resources to the library project and make sure your
tool doesn't find any unused resources.
3. Run your tool on the other project that references the library project.
What is the expected output? What do you see instead?
There should be no unused resources. Instead, it displays the all the resources
from my referenced library project as unused.
What version of the product are you using? On what operating system?
AndroidUnusedResources 1.6.2 on Mac OSX 10.7.3
Please provide any additional information below.
I believe that when you compile an android project, it merges all the resources
from referenced libraries into itself. For now, we run your tool against our
library projects directly, but when we start introducing more levels, I believe
it'll be more difficult to find unused resources.
Thanks!
Original issue reported on code.google.com by toland...@gmail.com on 6 Mar 2012 at 10:03
Original issue reported on code.google.com by
toland...@gmail.com
on 6 Mar 2012 at 10:03