Error running app: This version of Android Studio is incompatible with the Gradle Plugin used.

i got this error on IntelliJ Ultimate edition, when I try to run the app (compiles OK).

First, I am not running Android Studio, but I understand that this message may come from colleagues commits (who uses Android Studio). But now it's not possible to amend this error, because the solution (turn off instant-run) isn't available in IntelliJ.

Thanks:)

0
1 comment
Avatar
Permanently deleted user

Found a work-around:

Edit build.gradle - replace this:

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

with this:

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

 

The problem is gone. Seems "instant run" is a feature introduced in a version between those two.

1

Please sign in to leave a comment.