Android Studion Dependency resolving hangs
<p>I'm trying to learn building android apps, but I have ran into the following problem.
After I create a new project, the <strong>Gradle</strong> build starts and it is hanging at the following process.</p>

<p><a href="https://i.stack.imgur.com/u6d2L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u6d2L.png" alt="enter image description here"></a>  </p>

<p>I am inclined to believe that the connection that I use blocks several ports and it is impossible for the studio to download the necessary file.<br>
Knowing this, I downloaded <strong>gradle</strong> from their homepage, and I've set the local path in android to that folder, but there is no change.<br>
This is what I get after the gradle build times out.  </p>

<p><a href="https://i.stack.imgur.com/YCZjL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YCZjL.png" alt="enter image description here"></a>  </p>

<p>What can I do to bypass my connection settings and build a proper project?</p>