I created sample project on the fresh installation of the Android Studio v 1.2.1.1 and i faced with 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 the Google and i checked
gradle.properties file
where is:
dependencies {
classpath 'com.android.tools.build:gradle:1.2.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
After that i tried to update all SDK libraries using SDK manager
And after that i tried to find issue in settings (see image)
But everything without success. Because in the error description is nothing i don't know what can be wrong and what to repair.
Any idea please?
Many thanks for any help.
Note: Compilaton using Cordova (which is using Gradle too) is without problems and app is compiled.
Set chmod to 775 on .gradle dir in the home directory helped to me solved it out.