A.JK A.JK - 10 months ago 382
Android Question

How to update Gradle Plugin version?

I am trying to run a project and it shows me:

Error running app: This version of Android Studio is incompatible with
the Gradle Plugin used. Try disabling Instant Run (or updating either
the IDE or the Gradle plugin to the latest version)

What should I do?

How can I update gradle?


The gradle plugin is declared inside the build.gradle file in your modules or in your root folder (top-level file).


 classpath 'com.android.tools.build:gradle:2.0.0'

Also this requires gradle 2.10 (don't confuse the gradle plugin with gradle).
The gradle version is defined in gradle/wrapper/gradle-wrapper.properties.