I have already created one project and gradle sync worked successfully.
When I try to create another project it fails and gives the error message that
distributionUrl=http://services.gradle.org/distributions/gradle-2.1-all.zip
keep the http://