Android Studio 1.0.1 supports gradle 2.2.1+ and Android gradle plugin 1.0.0 +
How to change gradle version.
gradle/wrapper.
gradle-wrapper.properties.
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
gradle:
build.gradle .
:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter() // or mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
. build.gradle. .
.