Skip to content Skip to sidebar Skip to footer

Getting (almost) The Same Results When Running As Inspections And Gradle Lint

I have a similar issue than this one. I want to get the same results (as much as possible) when running code inspections from Android Studio and from a console Gradle task. When ru

Solution 1:

You can run the Android Studio inspections from command line:

<android studio path>/bin/inspect.sh

https://www.jetbrains.com/idea/help/running-inspections-offline.html

Solution 2:

Android Lint is only a subset of the inspections that you can run in Android Studio/IntelliJ. If you want the same results in both, you should disable any non-Android-Lint inspections in Android Studio.

Post a Comment for "Getting (almost) The Same Results When Running As Inspections And Gradle Lint"