Sud*_*lip 3 eclipse performance android lint
我在开发Android项目时在Eclipse中使用lint工具.我可以在lint工具控制台中看到lint警告,但我找不到将此结果导出到XML或html文件的任何选项.
我知道,报告可以从命令promt生成,但我需要通过与Eclipse IDE集成的Lint工具确认这是否可行.如果有可能任何人建议如何获取报告,如果不是我想知道为什么eclipse没有为lint工具提供这么简单的功能.
Kan*_*ngh 14
1.open命令行(windows中的cmd)
2.navigate到android安装目录中的"tools"目录
3.你只需键入:
命令 -
lint --html < html_output_path > < your_android_project_path >
Run Code Online (Sandbox Code Playgroud)
例如:
lint --html C:\report.html C:\yourAndroidProject\
Run Code Online (Sandbox Code Playgroud)
4.转到html_path并打开html测试报告:)
| 归档时间: |
|
| 查看次数: |
2502 次 |
| 最近记录: |