Remove Unused Resources Before Shipping
Question: Does anyone have a quick way for removing all the extra resources in an Android application that are not being used(referenced) in my code? Explanation: I've noticed that
Solution 1:
Yes, the ADT in Eclipse includes something called "android lint".
In a nutshell, it points out problems with your app. One thing it notes is unused resources. It doesn't automatically remove them.
You can access it from Eclipse through (right click project) > android tools > run lint.
Solution 2:
besides the builtin Lint: http://code.google.com/p/android-unused-resources/
it can't remove them automatically but it should be able to tell you which resources are unused.
Solution 3:
We build a small tool that will remove all the unused resources from your project based on the android lint output. We think this is more reliable then the android-unused-resources
project as we rely on the official lint tool.
Post a Comment for "Remove Unused Resources Before Shipping"