Z ADT 16 można zrobić to tak proste, jak to możliwe. Zaktualizuj do ADT 16 i użyj Android Lint. To naprawdę niesamowite narzędzie. Może znaleźć nieużywane zasoby (nie tylko łańcuchy) i wiele innych. Z jego oficjalnej strony:
Here are some examples of the types of errors that it looks for:
- 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
and many more.
Fajne podejście, ale czy sprawdza, czy nazwa zasobu nie zawiera komentarzy ani ciągów znaków? Wymaga pewnych modyfikacji, aby były zgodne z nową strukturą projektów Android Studio. –