I am using Android Studio (Canary) 2.1 Preview 4.
When I tried to change
classpath 'com.android.tools.build:gradle:2.1.0-alpha4'
to
classpath 'com.android.tools.build:gradle:2.1.0-alpha3'
I get the dialog message
"The project is using an incompatible version of the Android Gradle plugin"
and Android Studio suggests to change it back to alpha4
Update:
But I can set com.android.tools.build:gradle:1.5.0
.
And I can not set com.android.tools.build:gradle:2.0.0
.
Looks like there is any relation between the AS version and Gradle version.
How can I set 2.0.0
gradle veriosn in AS 2.1 ?