Search code examples
androidreportandroid-lint

Lint HTML/PDF report


I want HTML or PDF report for my android project, I've tried to generate HTML file following this tutorial, but its empty, while generating XML succeeds.

Note: The following stack overflow issue was used as a tutorial: Exporting html report of Android Lint from Android Studio?

Is there any way to generate HTML or PDF report in Android Studio?


Solution

  • Run ./gradlew lint in the terminal from the root of your project.

    After that you can find your html reports here by default: app/build/reports/lint-results.html