Skip to main content
Logo Appt Light

Linting on Android

Linting is the process of running a tool which analyzes your code for potential errors. Generally, each problem detected by the tool is reported with a description message and a severity level. This allows you to quickly prioritize the critical improvements that need to be made. Everyone benefits from higher code quality, plus it improves the accuracy of assistive technologies.

On Android you can use AndroidLint to improve the quality of your code.

Check if you are using outdated code. In Android Studio you can check this by selecting the following menu options:

  1. Kotlin

  2. Migration

  3. Usage of redundant or deprecated syntax or deprecated symbols

Avoid errors with automated testing. Follow the UI-testing guide for Android.

/AndroidSDK/tools/lint /project

Feedback?

Let us know!