About Android Lint

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.