I have a huge Android project with many strings declared in strings.xml
. I wanted to remove unused strings in strings.xml
.
Is there any easy wa
This is how I did it with Android 3.3.
Check in any unsaved changes to your repository.
Note: Try building the project. If compilation fails, its most likely that these strings.xml is being referred from some layout/menu xmls, which themselves are unused. So those layout xmls can also be deleted manually!
Build and run. Test!