从Android Studio导出Android Lint的HTML报告? [英] Exporting html report of Android Lint from Android Studio?

查看:471
本文介绍了从Android Studio导出Android Lint的HTML报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我们无法在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:没有这样的文件或目录.

When I run it through my macbook terminal it says - -bash: ./gradlew: No such file or directory.

让我知道如何解决该问题.

Let me know how can I resolve it.

推荐答案

(./gradlew lint)中的棉绒报告不同于Android Studio代码检查报告(分析->检查代码).它似乎包含所有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:

  • 运行分析->检查代码
  • 查找检查结果"窗口/面板
    • 如果看不见,请尝试查看->工具窗口->检查结果
    • Run Analyze -> Inspect Code
    • Find "Inspection Results" window/panel
      • if it's not visible, try View -> Tool Windows -> Inspection Results
      • 请注意,指定的目录必须存在

      这篇关于从Android Studio导出Android Lint的HTML报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆