The current Android plugin for IntelliJ IDEA doesn...
# intellij
w
The current Android plugin for IntelliJ IDEA doesn't support the latest Android Gradle Plugin. Only Android Studio supports the latest AGP. However, if the project also integrates Quarkus (monorepo with backend + frontend), then the latest Android Studio breaks during the Gradle sync (ConcurrentModificationException). So, we're now in a deadlock between choosing IntelliJ IDEA which doesn't work with Android or Android Studio which doesn't work with Quarkus. Are there any plans to make the Android IntelliJ plugin keep up to date with Android Studio more frequently? Or in the other direction, keep Android Studio up to date with IntelliJ IDEA more frequently? What can we do now to get out of this situation?
t
AFAIK there is an initiative to bring Android changes faster back into IDEA, but currently it is a hard task that requires a lot of effort so I don't know when exactly it will be implemented
w
One option is to use Android Studio Canary which is supposedly tracking pretty recent IJ releases — current canary is based on IJ 2025.2.2. Another option is to ask IJ to sync regardless and hope nothing breaks (https://youtrack.jetbrains.com/issue/IDEA-348937/2024.1-Beta-missing-option-to-enable-sync-with-future-AGP-versions#focus=Comments-27-11721710.0-0). It'd be helpful to report sync breakages against new AGP, it'd make it easier to track when the support lands
w
Thanks for the hint. I didn't know about that hidden IntelliJ option. Since the bug report is still open, I suppose that's sufficient as a report? And in the meantime we've found that Quarkus has a config option disableQuarkusComponentVariants and with that at least Android Studio works again.
w
> Since the bug report is still open, I suppose that's sufficient as a report? the bug is about the sync option itself. What I meant would be helpful is to report actual sync issues if you enable that option and the sync fails for any reason. Glad you found a workaround, that's another alternative I guess 😄