This morning, all Android Studio projects started failing Gradle sync/build/clean with:
> Could not create plugin of type \'
In order to use the latest Gradle version 0.9.+, you have to update gradlewrapper.properties
file too.
Open gradlewrapper.properties
file which locate under youProjectPath/gradle/wrapper/gradlewrapper.properties
path:
change distributionUrl
url From
distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip
To
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
After that, I changed build.gradle dependencies to
classpath 'com.android.tools.build:gradle:0.9.+'
and synced gradle files and everything when good.
Cheers