我想为我的项目生成 lint 报告。
所以在我的 Ubuntu 终端上,我给出了命令 lint my_prj_path
但我遇到了以下错误,
No command 'lint' found, did you mean:
Command 'link' from package 'coreutils' (main)
Command 'jlint' from package 'jlint' (universe)
Command 'hlint' from package 'hlint' (universe)
Command 'line' from package 'util-linux' (main)
Command 'tint' from package 'tint' (universe)
Command 'dlint' from package 'dlint' (universe)
lint: command not found
可能是它非常基本的问题,但我找不到解决方案。请帮忙。 提前致谢。
最佳答案
lint在 /sdk/tools/
中可用。所以你需要在 lint 命令之前转到目录或添加相对路径,如
SDK_PATH/sdk/tools/lint project_path
关于android - 找不到命令 'lint',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26272800/