Is it still possible to work on Android projects i...
# intellij
b
Is it still possible to work on Android projects in Intellij IDEA Ultimate? I have a project with multiple sub-projects in it, and one of them is an Android App. Android Studio seems to be fine with it, but in Intellij IDEA i'm getting:
Copy code
* Exception is:
com.intellij.openapi.externalSystem.model.ExternalSystemException: This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.1 or newer.
m
Yeah new idea has no support for latest stable AGP, you can try to migrate your AGP to 7.0.0 (which is not bundled with specific version of Android Studio but comes as a standalone installation)
b
Thank you for the reply, @murdock. Do you have any idea where i can download the standalone version of the version 7.0.0? I've only found it as a part of a full canary android studio installation.
m
Android IntelliJ plugin != AGP. AGP is used by your build, the IntelliJ plugin is used by IntelliJ
Looks like both need to be somehow compatible though, it seems complicated.
I bookmarked this issue some time ago: https://youtrack.jetbrains.com/issue/KT-42308
I think it was supposed to make the process of being in sync with Android easier
m
Uh correction, missread the original post about Artic Fox and new AGP, the versioning scheme is decoupled but they are still bundled and shipped together
m
AGP is completely standalone, you can get it on Google maven repo and use it from the command line. The problem is the IntelliJ Android plugin AFAIK
m
Yeah sorry for confusion , @mbonnin is correct, Android IJ/AS Plugin is whats making all of the issues
g
I think it was supposed to make the process of being in sync with Android easier
Isn’t it about Kotlin plugin itself, not about Android Plugin for Idea? I think it’s a bit different storry, both IDEs have own changes, AS has Android Plugin + some core changes, and Intellij has a lot of own changes + (now) Kotlin plugin, they developed in parallel, and AS is a later in terms of Idea changes and Idea is later with Android changes and each of them should merge changes from another to be up to date
m
That can very well be, I didn't follow super closely, I just hope this can work in the future, having to toggle between IDEs isn't a great developer experience.
g
I don’t think that Idea and AS will ever have feature-parity for the latest versions But in most cases it’s not required, but it’s frustrating when it completely not compatible, and also hope situation will be improved
m
Yea, I really don't mind the database inspector, UI preview, etc... I just want Kotlin code to compile and be navigatable
g
I think now it will be fine, especially with Kotlin plugin as part of Idea
m
Now like right now ?
We've kept the AGP 3.6.2 on my project for a while just because we couldn't open the project with intelliJ else 😅 . If it's working now, would love to upgrade!
g
I mean not right now, but with new AS release cycle and changed Kotlin plugin release cycle
m
👍 looking forward to it 🙂
b
Can we somewhere vote for it so jetbrains sees it's important for some users?
g
I think it more about Android Studio, not intellij
m
Looks like there is some part on jetbrains side though: https://youtrack.jetbrains.com/issue/IDEA-252775
This last ticket says it'll work with IDEA 2021.1
There's actually an EAP released yesterday so it's testing time 🎉
g
Well, this part is about merging AS 4.1, this what I meant. 4.1 released too late so not included to 2020.3 So if 4.0 would be backward compatible with never projects, it wouldn't be a problem to open 4.1 projects in Idea, but because it's not compatible, we have to wait when Idea is pull changes from AS
👍 2
m
There's actually an EAP released yesterday
I take that back. I can't find a link to the EAP so I guess we'll have to wait a bit more