Thanks for your answer.
I installed B4A like the other times following the instructions, and it always worked.
I have a doubt, "command line tool" should I download it by clicking on "Android SDK Command line tools" or "SDK license"? Both are clickable links and download 2 different packages.
I am also attaching the screenshots of the path configuration, installed packages and compilation error.
I don't know if it will be useful, but my system runs on Windows 11
If that were not enough, I am available to provide further information.
Thanks again