[SOLVED] Unity refuses to download SDK & NDK Tools

as the title says, i can’t really understand why i cant download the tools from the unity hub’s “Add modules” option, every time it finishes i get no error, but reopening the “add module” page still shows the “SDK & NDK tools” as to download.
i have tried different solutions but none seemed to work.
this happened after i had reset my PC.
Now whenever i try to build a project i get the error on the image named “1.png”.
The external tools page looks like the image named “2.png”.
i dont really understand what am i doing wrong, can someone help please?

7117555--849562--1.PNG

What is that Command Line tool? Maybe that tool is missing.

Couple of things to do.

Download a version of unity from unity hub make sure you include android build option.

Download the android SDK directly from google then point the paths from unity options to the SDK files download from google.

Hi sorry for getting back so late but i solved my problem.
for the SDK problem i banally had to update windows, the NDK problem was resolved thanks to this thread, i’ve downloaded this NDK (https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip) and placed here (C:\Program Files\Editors\2020.3.7f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK)