Are there any tools that could remove the unwanted variables from the android project.I have tried PMD(which is a good tool),but I want a more generic unused variable remover.
Yes there is a helpful tool called AndroidUnusedResources
Check this out here
You can probably use Android.Lint
Android Lint is a new tool introduced in ADT 16 (and Tools 16) which scans Android project sources for potential bugs. It is available both as a command line tool, as well as integrated with Eclipse (described below), and IntelliJ. The architecture is deliberately IDE independent so it will hopefully be integrated with other IDEs, with other build tools and with continuous integration systems as well.
Here are some examples of the types of errors that it looks for:
refer http://tools.android.com/tips/lint
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With