Exporting html report of Android Lint from Android Studio?

别来无恙 提交于 2019-12-05 11:39:52
Smitha

The lint report from (./gradlew lint) is different than the Android Studio code inspection report (Analyze -> Inspect Code). It looks like it includes all the Android Lint items and lots of additional checks

Here are the steps to export the Android Studio code inspection report:

  • Run Analyze -> Inspect Code
  • Find "Inspection Results" window/panel
    • if it's not visible, try View -> Tool Windows -> Inspection Results
  • In the inspection view, at left side, you will get an option symbol to export to html/xml and then, give the path where you want that file to be stored.
    • Note that the specified directory must exist

From the IDE window, you need to open the Gradle view, inside this view you'll see a section called all tasks, you can either click on lint or on check.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!