Why am I getting these build errors on my 2019.1

Here I’ve attached some screenshots but I’ve installed unity 2019.1 from unity hub, but why am I getting this Gradle build error. Do I need to switch up some stuff or download Gradle from different sources?

I’m not an expert but i thought i could suggest something as I previously had errors with this. On mine that works i had to make sure the tick boxes were checked if installing through the unity hub, this then sets the path by default:
155741-android.png

The other thing to check is if you installed the JDK, SDK, NDK etc through the HUB as then that will make it easier and therefore ticking the check boxes for default paths work ^^^
If on unity Hub, go to the installs tab, find the version you are using and click the 3 dots in the top right, and go to ‘Add modules’
Under the Android build support make sure you click the drop down arrow and make sure you select the two boxes and then next to install if they weren’t installed.
155742-modules.png

As i said i’m not an expert but hope this helped,