After months of adding new code and resources to a project, its very likely that some of the added resources aren’t being used right now and are taking up space in your project. Going through your project file by file looking for unused drawables or unused entries in Strings.xml.
Like most things in the software world, there’s an easier way (or several actually). You can run your project through this jar. Android-unused-resources is a project that analyzes your Android project folder, and spits out a list of files and XML resources that aren’t currently being used. It makes it very easy to go through and delete what’s not necessary in your project.
After I ran across this nice project. An Android Eclipse plugin update included Lint, which does much of what Android-unused-resources project does, in addition to checking for more interesting performance optimizations like changing values in your layout XML files.
If you have some time and are wanting to clean up your projects a bit, you should check Lint, and the Android-unused-resources project out.
No comments:
Post a Comment