Software Technology Tips

A lint tool is provided as part of ADT ver 16 and can be used to detect following issues.
1) Missing and unused translations
2) problems related to layout (ex duplicate ids, unsupported parameters)
3) finds unused resources which are not referenced in the project.
4) Icon problems like missing densities, duplicate icons, wrong sizes, etc
5) Usability problems (like not specifying an input type on a text field)
6) Manifest errors.
The tool can be run from command line and from eclipse IDE using ADT. Using eclipse , it can be used to jump directly to the problem source from lint view (similar to console while debugging).
This feature helps in easy fixing of many hidden bugs.
When run from command line the tool can be used generate HTML reports.
$ lint --html /tmp/report.html --url /src/MyProj=http://buildserver/src/MyProj
lint --help        lists various options for
To get the lint tool, update the ADT from eclipse -->software updates.
For more details refer to this link.

Related Tags:

Android, Android Lint Tool

Author: Ashish Sharma

Android Apps Development

Let us Connect!

Awards and Achievements

Red Herringcolor DeloitteFast50 DB ZInnov1   Nascome  DB Stpi

This site uses cookies. We respect your privacy.copyright (c) Mindfire Solutions 2007-2015. Login