Hi i am trying to use android gradle plugin 8.2.0-...
# gradle
j
Hi i am trying to use android gradle plugin 8.2.0-alpha14 in order to build a android project that has a compiled sdk vesion of 34 (which 8.2 and up is only compatible) and i cant seem to build it. This is the error i get:
Copy code
The project is using an incompatible version (AGP 8.2.0-alpha14) of the Android Gradle plugin. Latest supported version is AGP 8.2.0-alpha06'''
v
This question has nothing to do with Gradle. Iirc this is a message from Android Studio (or IntelliJ IDEA) that tells you that this AGP version is not supported.
j
I see. the android studio does say that i 8.2 is supported
so it is strange
v
Well, the error message says 8.2.0-alpha06 is supported at max, but not alpha14
a
Are you using Android Studio, or IntelliJ IDEA? I often get the same error as you when trying to use IntelliJ to build Android projects. The workaround is to disable the IJ Android plugin https://youtrack.jetbrains.com/issue/IDEA-324912/Cant-use-IntelliJ-to-run-Gradle-project-using-Android-Gradle-Plugin-v8.0.2#focus=Comments-27-7833820.0-0 Unfortunately it's a common issue that IntelliJ and AGP aren't in sync
Simply said, half of the year IntelliJ is unusable as the team is updating AGP (and their Android Studios) and it is not supported in my IDE.
https://youtrack.jetbrains.com/issue/IDEA-316608/Merge-Android-Plugin-2022.3-into-IDEA-2023.2#focus=Comments-27-7470041.0-0
j
Android studio hedgehog version
I need alpha 14 as one of the android libraries uses it
v
Well, then you obiously cannot use Android Studio integration or need to use some newer version of AS
j
OK thanks I got it working
👌 1