Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Specify Android Lint version

Tags:

android

lint

How do I specify the version used for Android Lint? From the lint report: <issues format="5" by="lint 3.5.3">

like image 499
multiholle Avatar asked Apr 23 '26 08:04

multiholle


1 Answers

Lint is a part of ADT(Android Development Tools) and more specifically it depends on the Android Gradle Plugin Version. You cannot change Lint version independently from gradlePluginVersion. When you change gradlePluginVersion, Lint version will be changed automatically to the corresponding one from current version of the plugin.

If you want to disable some checks or write your own rules you may check this. Also you may create your own 'Lint' modules using "com.android.tools.lint:lint-api:$lintApiVersion" and "com.android.tools.lint:lint-checks:$lintApiVersion" compileOnly dependencies from here

Hope it helps

like image 111
Pavlo Ostasha Avatar answered Apr 24 '26 23:04

Pavlo Ostasha



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!