I'm kind of blocked during my evaluation of Android Studio (0.8.9 on Mac) due to a gradle synchronization error.
I have already searched for other issues like that on StackOverflow (such as Gradle project refresh failed (AS 0.8.2, Mac)) but without finding a solution.
Immediately when I create a new Android project using Android Studio, I got the following error:
Error:Unable to find method 'org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V'. Possible causes for this unexpected error include:
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
- Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network)
- The state of a Gradle build process may be corrupt. Stop Gradle daemons and sync project
My build.gradle file is the following:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
and gradle-wrapper.properties is:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
I hope you can help me to find a solution.
Thanks
Marco