I created a sample project on a new installation of Android Studio v 1.2.1.1, and I came across this error message:
Gradle project refresh failed in Android Studio 1.2.1.1
See image below:

So, I tried to find any solution on Google and I checked
gradle.properties file
Where:
dependencies { classpath 'com.android.tools.build:gradle:1.2.2'
After that, I tried updating all the SDK libraries using the SDK manager
And after that I tried to find the problem in the settings (see image)
But all without success. Because in the description of the error I don’t know anything that can be wrong and what needs to be fixed.
Any idea please?
Thanks so much for any help.
Note: Compiling using Cordova (which also uses Gradle) is no problem, and the application is compiled.

android android-studio android-gradle build.gradle
redrom Jun 11 '15 at 17:26 2015-06-11 17:26
source share