I am unable to build a project in Android Studio and I am receiving the following errors.
In addition to @mhaseebn answer I have deleted proxy entries in C:\Users.gradle\gradle.properties of windows machine worked for me