I got the error when i create a new Project using android studio.
below i attached a screenshots of error message..
Had the same problem I think because our internet set-up blocked access to https://dl-ssl.google.com site.I resolved in by downloading gradle 1.6 zip then extracted it in some folder.go to File --> Settings --> click option-->Gradle ,the check use local gradle distribution and point it to the extracted directory eg C:\android-studio\plugins\gradle\gradle-1.6-bin\gradle-1.6 Then it was okay
We have to change the android sdk source in the project settings to our sdk where we have installed the android build tools.
I had the same issue and by doing this, it worked. Thanks.
I also had an issue downloading gradle
through AndroidStudio
. I tried the following.
AndroidStudio
directory where you installed your studio Like D:\User\AndroidStudio
AndroidStudio
go to \AndroidStudio\plugins\gradle\lib
and copy gradle.jar
gradle.jar
file in \AndroidStudio\lib
directory.gradle-1.6-bin.zip
- After extracting zip file - (bin, media, init.d, lib folders)
to \AndroidStudio\plugins\gradle
AndroidStudio
* Updated Answer *
And after following all the steps listed above, if it is not working, Kindly check below things.
1) Please delete .gradle
folder from your user like C:\Document and Settings\AndroidUser\***\.gradle
2) You can check your HTTP Proxy
in Settings
.
Hope this helps!
Download gradle, and replace it with the file
gradle-1.6-bin.zip
located at:
C:\Users\<username>\.gradle\wrapper\dists\gradle-1.6-bin\<some_hash_key>\
your_project
" ok
IMPORT-> "your_project "
and follow the instruction For me, this issue only occurs when using a proxy server. If you specify a proxy server in the settings, everything is working fine for me. You can specify a proxy server by File->Settings->HTTP Proxy