3

此刻我有太多的 xml 字符串值。我开始删除我不使用的那些,但这很难(我真的不知道我使用哪个,而且我不知道)。eclipse中是否有可以为我做这个的功能,或者帮助我实现它?(像一些调用层次结构)

4

1 回答 1

2

Android Lint应该能够帮助您解决这个问题。

在网站上,它声明它可以做以下事情:

Missing translations (and unused translations)
Layout performance problems (all the issues the old layoutopt tool used to find, and more)
Unused resources
Inconsistent array sizes (when arrays are defined in multiple configurations)
Accessibility and internationalization problems (hardcoded strings, missing contentDescription, etc)
Icon problems (like missing densities, duplicate icons, wrong sizes, etc)
Usability problems (like not specifying an input type on a text field)
Manifest errors
于 2012-10-18T10:41:34.297 回答