Androidstudio中 unable to execute Clang-tidy clazy-standalone is not found or cannot be exexute
这个问题可能是因为Android Studio不支持clazy,但是在设置菜单中仍然提供了这个选项,并且在这种情况下,它似乎被启用了¹。当通过clangd启用clang-tidy时,没有什么需要做的。当通过clangd禁用clang-tidy时,如果启用了clazy,就会出现这个错误¹。
要解决这个问题,你可以尝试以下步骤:
1. 转到设置(Settings) -> 编辑器(Editor) -> 检查(Inspections) -> C++,取消选中clazy¹。
2. 如果上述步骤不能解决问题,你可以尝试转到Preferences → Clangd并启用Use clang-tidy via clangd¹。
(1) Error:(1, 1) Unable to execute Clang-Tidy: clazy-standalone is not .... https://stackoverflow.com/questions/70840061/error1-1-unable-to-execute-clang-tidy-clazy-standalone-is-not-found-or-cann.
(2) Error:(1, 1) Unable to execute Clang-Tidy: clazy-standalone is not .... https://www.stackoverflow.com/questions/70840061/error1-1-unable-to-execute-clang-tidy-clazy-standalone-is-not-found-or-cann/71491480.
(3) Android studio冇法執行Clang-Tidy:事因稳吾到或冇法執行clazy-standalone.. https://www.bookcard.net/wordpress/android_studio_unable_to_execute_clang_tidy_clazy_standalone_is_not_found_or_cannot_be_sexecuted/.
本文作者:第9527号嵌入式菜鸟
本文链接:https://www.cnblogs.com/zhouxingxing7920/p/17745618.html
版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步