I have no idea what I changed in my project, but it suddenly cannot get past this step while building gradle scripts.
There is no problem building it with j
I encountered the same issue and resolved it by adding both http and https proxies in the gradle.properties file. It is important to add the https proxy as the gradle-2.10-all.zip is read using https:
https://services.gradle.org/distributions/gradle-2.10-all.zip
gradle.properties:
systemProp.http.proxyHost=
systemProp.http.proxyPort=
systemProp.https.proxyHost=
systemProp.https.proxyPort=