Reputation: 1570
When running my Android App with Android Studio 2.0, Instant Run fails with this message, even though I have configured my app module to use v2.0.0 of the Gradle plugin:
Android Plugin for Gradle version 1.5.0 does not support Instant Run. Please update to version 1.5.0
Upvotes: 0
Views: 412
Reputation: 336
Instant run requires Gradle version 2.0.0. Update your build.gradle
to include the following instead.
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
}
Upvotes: 2
Reputation: 1570
Android Studio does not detect the correct plugin version when it is configured in the app-module build.gradle
(e.g. MyProject/app/build.gradle
). Add the plugin to your buildscript classpath in the root build.gradle
(e.g. MyProject/build.gradle
).
Upvotes: 0