Feature Request P3
Status Update
Comments
bo...@google.com <bo...@google.com>
ar...@google.com <ar...@google.com>
em...@google.com <em...@google.com> #2
This happens because Android Studio does not support clazy
, but the option is still shipped in the settings menu, and in this case, it seems to be enabled.
-
When
clang-tidy via clangd
is enabled, there is nothing to do. -
When
clang-tidy via clangd
is disabled, then- If
clazy
is enabled, this error will be observed.
- If
To disable clazy
, go to: Settings > Editor > Inspections > C++
and uncheck clazy
.
Note for Android Studio devs: We should check if we can disable this clazy feature in Android Studio. It seems to be a tool specific to some qt framework.
Description
AI-211.7628.21.2111.8139111, JRE 11.0.11+0-b60-7590822x64 JetBrains s.r.o., OS Mac OS X(x86_64) v10.15.7, screens 2880.0x1800.0; Retina
AS: Bumblebee | 2021.1.1 Patch 1; Kotlin plugin: 211-1.6.10-release-923-AS7442.40; Android Gradle Plugin: 4.2.2; Gradle: 6.7.1; Gradle JDK: version 11.0.11; NDK: from local.properties: (not specified), latest from SDK: 22.1.7171670; LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: 3.18.1-g262b901, from PATH: (unable to invoke cmake)
When I upgraded to Android Studio Bumblebee Clang-Tidy stopped working - this error message appears in the editor: "Unable to execute Clang-Tidy: clazy-standalone is not found or cannot be executed". I have no idea why it happens, because it never happened in earlier versions of Android Studio. I use built-in Clang-Tidy version 13.0.0.
If I go to Preferences -> Other Settings -> Clangd, and enable `Use clang-tidy via clangd` the issue is resolved.