The full error message is:
java: Cannot run program "D:/AndroidSDK/bin/java" (in directory "C:\Users\hp\AppData\Local\Google\AndroidStudio2021.1\compile-server" ): CreateProcess error=2, 系统找不到指定的文件。
I was trying to use spotbugs on project Anki-Android, and when i do spotbug checking on java or kt files under directory "AnkiAndroid" which is the main application folder, it shows this message.
Using Android 9, api = 29. JDK 11. Spotbugs using the plugin version downloaded from intelliJ market place.