从 Android Studio 导出 Android Lint 的 html 报告? [英] Exporting html report of Android Lint from Android Studio?
问题描述
我开始知道我们无法在 Eclipse 中导出 Android Lint 的 xml/html 报告.它也适用于 Android Studio 吗?
I came to know that we can't export xml/html reports of Android Lint in eclipse. Is it applicable to Android Studio as well?
我想导出 Android Lint 的 xml/html 报告(由 - studio - 分析 - 检查代码使用)..
I want to export xml / html report of Android Lint (used by - studio - analyze - Inspect Code)..
当我通过我的 macbook 终端运行它时,它说 - -bash: ./gradlew: No such file or directory.
When I run it through my macbook terminal it says - -bash: ./gradlew: No such file or directory.
告诉我如何解决.
推荐答案
来自 (./gradlew lint) 的 lint 报告与 Android Studio 代码检查报告(Analyze -> Inspect Code)不同.看起来它包括所有的 Android Lint 项目和许多额外的检查
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
以下是导出 Android Studio 代码检查报告的步骤:
Here are the steps to export the Android Studio code inspection report:
- 运行分析 -> 检查代码
- 查找检查结果"窗口/面板
- 如果它不可见,请尝试查看 -> 工具窗口 -> 检查结果
- 注意指定目录必须存在
这篇关于从 Android Studio 导出 Android Lint 的 html 报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!