Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't find a way to show lint errors in Android Studios project view

In Eclipse, any lint errors or warnings are both highlighted in the code file, but also in the package tree with icons highlighting files with warnings/errors.

Try as I might, I can't find a way to replicate this functionality in Android Studio. Does anyone know of a way to do this? Is there an IntelliJ plugin I just can't find that might help?

like image 494
Josh Kitchens Avatar asked Oct 19 '15 00:10

Josh Kitchens


People also ask

Where can I find lint report?

Run lint using the standalone tool You can then locate the lint tool at android_sdk /cmdline-tools/ version /bin/lint . For example, you can issue the following command to scan the files under the myproject directory and its subdirectories.

How do you run a lint test?

Lint checks are automatically performed by the Gradle build system. To see the available checks in Android Studio File Settings Editor Inspections. You can also run the lint checks manually by right-clicking on your project and select Analyze Inspect Code. You can run link also from the command line.


2 Answers

try looking at the error report file located: ProjectDir/app/build/report/lint-results-release-fatal.html

like image 119
Денис Гейко Avatar answered Oct 20 '22 06:10

Денис Гейко


As per android developer docs, we can inspect the lint error below way

1.In the Android view, open your project and select the project, a folder, or a file that you want to analyze.

2.From the menu bar, select Analyze > Inspect Code.

3.In the Specify Inspection Scope dialog, review the settings.

Reference click here

like image 28
Harish Avatar answered Oct 20 '22 05:10

Harish