I am new in Android Studio. After setup, When I am trying to import an application I am getting that error So that gradle not able to build.
Error:Could not
I'm using Pop OS 20.04 and I have Java versions 8, 11 and 14 installed on my notebook.
This error was happening to me when version 14 was standard.
When I switched to using version 11 as the default, the error no longer occurred.
sudo update-alternatives --config java