I would like to know if there is the way to find out 开发者_运维技巧which resources (layouts, strings, colors etc. from res-folder) are not used in my android project.
What I mean, in my app I have some old strings, which won't be used anymore and I would like to remove them from the string.xml
Thank you in advance.
Ps. I'm using Eclipse for developing
A swift google search brought up this project: http://code.google.com/p/android-unused-resources/
After running the jar, all the unused resources of your project are being displayed.
To run the jar just call java -jar AndroidUnusedResources.jar
.
精彩评论