开发者

How to find out which resources are not used in an android app

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜