开发者

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

开发者 https://www.devze.com 2023-02-24 09:25 出处:网络
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.

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

精彩评论

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