16 Jan 2013


How to run Lint from eclipse.

Lint is static code analysis android tools which checks the android project source file for errors and optimization improvements like security, correctness, performance, usability and accessibility.It is android scanning tools which identify and correct the structural quality of a code.
Lets us learn how run Lint from eclipse.
  • Select the project on which you want to apply lint.
  • After selecting the lint select the lint tool in eclipse( list tool exist at the top of eclipse.)
 Running the lint
  • Or the second method of running the lint is right click on project and select Android Tools->Run Lint:checks for common errors.
  • After selecting the lint tool you will see the lint Warning View
Lint Warning

  • When you double click on the warning , you will be jump to the associated error location where you can correct the errors or suppress the errors by using the option available on the List warning window.
  •  There are three seperate ignore levels available in List Warning window.
    • Always ignore.
    • Ignore in the project.
    • Ignore in the file.
  • For more information on Lint Visit

No comments:

Post a Comment

Translate