After changing the gradle build file to use gradle build tool 0.8.+,
classpath \'com.android.tools.build:gradle:0.8.+\'
my Android studio
This could be anything, but in my case, it is due to an invalid HTTP proxy and some libraries can't be downloaded. In Settings-> HTTP Proxy, set to "None".