Przeczytaj czas na Android Studio

edit (gradle.properties)

org.gradle.jvmargs=-Dorg.gradle.internal.http.connectionTimeout=120000 -Dorg.gradle.internal.http.socketTimeout=120000

it should be fix.
SECRET MYSTERY