In my AndroidStudio project I created native library using JNI with CMake and CPP code. Everything builds and runs OK, but when I try to commit and push my code to git, the CodeAnalysis appears in the "Messages" bottom tab, showing me an error:
Error:(1, 1) Unable to execute Clang-Tidy: clazy-standalone is not found or cannot be executed
In Preferences -> Other settings -> Clang-Tidy I see "Built-in Clang-Tidy version: 13.0.0" and an option to "Use external Clang-Tidy instead of the built-in one" (which is not set)
Could you please tell me where to find the settings of clazy-standalone (to set it) and/or at least to suppress the error message?
I am a newbie in C/CPP programming, writing mostly in kotlin/Java
P.S. I use MacBook Pro with MacOS BigSur 11.6.1 and AndroidStudio Bumblebee 2021.1.1 Beta 5
This also happened to me when I updated from Android Studio Arctic Fox to Bumblebee.
What fixed it for me:
Go to Preferences
→ Clangd
and enable Use clang-tidy via clangd
(also enables some CLion builtin inspections
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With