I installed Android Studio and created a project and tried to build it, but nothing happened, I got an error:

Connection to the Internet denied. 

then there is a link to the site Android Developers tried to do as it says, but also did not work. As I understand it, the firewall windows is blocking this connection. How can I fix this error to connect for synchronization?

    1 answer 1

    Solved the problem in this way:

    1. Closed Android Studio.
    2. Moved to the user's folder in Windows Explorer (maybe someone will have another folder)
    3. Removed the .gradle folder
    4. Launched Android Studio and gave her the opportunity to download all the dependencies again.

    Everything works fine now.