Android Lint is a tool introduced after SDK tools (ADT 16), which scans and examines Android engineering source code to uncover potential problems so programmers can fix this problem early. Android Lint provides command-line execution, integrates with the IDE (such as Eclipse), and provides output reports in HTML form.
Select an Android project, right-click and select "Android Tools", "Run lint:check common Errors" from the dropdown menu
And then we can get a bug report.
Here we can see useless resources, duplicate named layout, there are some hard resources (soft resources is @string/xxx, hard is directly write text), lack of high-definition diagram and so on, we can choose to solve.
At this point you will find that the project you were not wrong is now a mistake, and the Red Fork appears on the icon. Don't worry, when you fix the necessary mistakes, just clear them all out. It is cleaned before and after cleaning.
Reference from:
http://blog.csdn.net/hudashi/article/details/8333349
About Android Lint