Could not resolve all dependencies for configuration ':classpath'

Hi I am getting following error in new project on Android studio 0.8.0.

Error:A problem occurred configuring root project ‘abc’. > Could not resolve all dependencies for configuration ‘:classpath’.

Could not resolve com.android.tools.build:gradle:0.12.0.

Required by:

:abc:unspecified

Could not GET ‘http://jcenter.bintray.com/com/android/tools/build/gradle/0.12.0/gradle-0.12.0.pom’.

jcenter.bintray.com

http://jcenter.bintray.com/com/android/tools/build/gradle/0.12.0

I am new to this.

Please somebody help. Thanks

Can you try running your build with the ‘–stacktrace’ argument? It might give some more detail as to why the download attempt failed.

It can happen if you have proxy settings and you are not connected to it.

example:

-You are home and forget to connect to your company network with your VPN client. -You have in your gradle.properties file systemProp.https.proxyHost=Your Company Proxy systemProp.https.proxyPort=Your Company Proxy Port -Gradle try to find jcenter and and don’t get it because it has no response from the proxy setted before

Like Mark says if you are in that case, you should see it with --stacktrace or --debug on gradle build command.