This theme is built w|

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 中国大陆许可协议进行许可。

posted @   第9527号嵌入式菜鸟  阅读(1782)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起