When will Idea 2017 catch up with the current Android gradle plugin?
Answered
I currently need to use Android Studio for Android projects, as IDEA (currently at 2017.1.1) doesn't work with the android gradle plugin version 2.3.1. I'd prefer to use the latter (as I have it more customised with plugins, live templates etc than AS).
I'm a little confused about the relationship between Google's code (the plugin etc) and JetBrains' (the IDE). Is there a published schedule or some other way I can check back to find out when I can use IDEA again?
Please sign in to leave a comment.
Could you please clarify what exactly doesn't work and what errors do you get with the current IntelliJ IDEA version? Is there any sample project we can use to reproduce it?
Oops. I had intended to include the error message. It's:
Any project using the latest Android gradle plugin (version 2.3.1) gets this when trying to run (compile stage is fine).
To reproduce:
- create a new Android project from any of the built-in templates
- change the classpath in the top level build gradle file to `com.android.tools.build:gradle:2.3.1`
- change the distributionUrl in the gradle-wrapper.properties to `https\://services.gradle.org/distributions/gradle-3.3-all.zip`
- sync gradle
- build & run
Or download and try this example project.
From what I can see in the VCS log, Android Studio 2.3 merge is work in progress:
It should appear in IntelliJ IDEA 2017.2 release (2017.2 EAP should start in ~2 weeks).
Thank you Serge.
Might I request that this be made discoverable more easily than by getting errors? Perhaps, for example, the highest compatible android gradle plugin could be specified in the Release Notes?
We'll consider it, thanks.
Hi Crispin, is it possible for you to turn off Instant Run as it's suggested? It works for me.
Dmitry - Instant Run has really transformed Android development, making it much less frustrating, at least for phases of a project (prototyping, polishing) where you need to repeatedly play with an app's UX etc. For these phases I'd rather just use Android Studio for now until IDEA merges the latest Google stuff in.
Thanks for the suggestion.