When I run lint "in" Android Studio (Analyze -> Inspect Code) I see a report of many issues in my application. However, when I run gradlew lint
I am told no issues exist!
My lintOptions
section in my app.gradle
file is:
lintOptions {
warningsAsErrors true
abortOnError true
xmlReport false
htmlOutput project.file('build/reports/lint/lint-report.html')
}
Am I doing something wrong? Why would there be zero issues found when using the gradlew lint
command?