Android Lint Tools

Source: Internet
Author: User

Android Lint is a new tool provided in ADT 16 and it is a code scanning tool similar to the FindBugs tool. However, he mainly detects the following aspects:

  1. Layout performance
  2. Internationalization issues (hard coding)
  3. Icon problem (duplicate icon, wrong size)
  4. Usability issues (such as input for non-specified text fields)
  5. Androidmanifest File Errors
  6. Resources not used in pictures, etc.
  7. Inconsistent array size
  8. Use of APIs higher than MINSDK

Can directly detect a project, the use is very simple, configure the SDK path, the command line directly input: Lint project name
There will be test results, such as:

He has integrated in eclipse and we can view it directly in the menu Window->show view->other->lint warings.
Set the check level in the menu window->preference-> "Lint eerro checking".

About the lint inspection rules, here is a good summary of the article: some Chinese and English original

Android Lint Tools

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.