update build.gradle project file adding http repositories
buildscript { repositories { jcenter() maven { url "http://jcenter.bintray.com"} } ... } allprojects { repositories { jcenter() jcenter{ url "http://jcenter.bintray.com/" } maven { url "http://jcenter.bintray.com"} } }
update also gradle-wrapper.properties with http url instead https
if required set also http proxy in ~/.gradle/gradle.properties
systemProp.http.proxyHost=systemProp.http.proxyPort= systemProp.https.proxyHost= systemProp.https.proxyPort=