After adding AdMob library, I started getting this kind of error before within my project no external library exist.
Its saying Unable to Locate Java Runtime but I have already linked all external tools to default settings.
At present, I have just installed Unity 2021.3.3 because similar problem I have faced with Unity 2021.1.13 version so I upgraded to LTS version but still getting this error.
Sorry I have to reopen this thread because on other day I opened my project and it stopped exporting android build.
Just one day it worked and now it was not working though I have multiple times done the same step.
Here I am giving you console output after executing the command: