This issue sounds familiar to me.
Have you linked properly in your path the cmdline-tools?
Install the latest cmdline-tools package and update your PATH, you might be able to solve this issue with the SDK tools and Java 11.
Within the SDK Manager in Android Studio, go to the SDK Tools tab. Check the Android SDK Command-line Tools (latest). Update your PATH to point directly to the installed version,
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
Actually I have all these, but maybe some requiered different tool installation in the SDK.
export PATH="$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH"
Hopefully this might help. Let me know how it goes.