Why AGP 4.1.1 can’t be used in IntelliJ? It was re...
# compose-desktop
j
Why AGP 4.1.1 can’t be used in IntelliJ? It was released a few months ago
s
Intellij has had bad Android support for a few years now I feel. I’ve had problems every time I try. Any multiplatform project that includes Android, I always use Android Studio. I’ve also found that Android Studio works better for compose desktop projects, even when you aren’t using Android.
j
Really I have AGP 7.0.0 in one project so I have to use AS there, but it is strange that 4.1.1 is not supported at this moment because in another lib I have to use 4.0.1 to avoid the usage of Canary versions. Hope when AGP 7.0.0 reaches the stable state it solves these compatibility problems
s
It is what it is. Look at my laundry list of problems that I had using IntelliJ Ultimate that I didn’t have in Android Studio in the comments of what I listed above
j
Ah, really I understand your point, but I have a different experience where IntelliJ is working better than Android Studio generally (performance), the only issues I have are related to incompatibilities.
s
IJ generally supports the latest stable AGP release at the time of feature freeze for a release — the current flow is that we need to take the AS code, extract their AGP support, rebase and patch it to work on the newer IJ platform (AS has historically been based on older IJ platform versions than the latest, as they have the reverse problem). I think IJ 2020.3 should support AGP 4.1, if not it may be they didn’t have enough time from when it went stable to when the IJ build was feature-frozen. It should be supported in the next minor upgrade, in that case, I think (but have no insider knowledge on that)
👍 2