Using the Android lint checks. This tutorial describes the purpose and the usage of the Android lint checks. It also describes how to use the support annotation to improve your code.
1. Lint
The Android lint tool is a static code analysis tool for Android applications. It provides command line and IDE supported checks for potential bugs and optimization improvements for Android applications.
Lint checks are automatically performed by the Gradle build system. To see the available checks in Android Studio
.You can also run the lint checks manually by right-clicking on your project and select
.You can run link also from the command line.
# run lint check for myproject
$PATH_TO_ANDROIDSDK/tools myproject
2. Android static code check resources
2.1. vogella Java example code
If you need more assistance we offer Online Training and Onsite training as well as consulting