I´m having a weird problem in Android Studio: The manually started linter via
Analyze -> Inspect Code -> "Whole project"
Finds some issues, however if I do it
./gradlew lint
in the console, it says
Ran lint on variant release: 0 issues found
Ran lint on variant debug: 0 issues found
I have no lintOptins
in my gradle file, but use a lint.xml
, here it is:
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="all">
<ignore path="build" />
</issue>
<issue id="all">
<ignore path="businesslogic/build" />
</issue>
</lint>
My question: How to make console show same errors as Inspection in android studio?