https://kotlinlang.org logo
#compose
Title
# compose
i

itnoles

02/12/2021, 12:06 AM
How I can get Kotlin 1.4.30 for AS Canary 7?
j

jim

02/12/2021, 12:08 AM
Isn't the latest version "ARCTIC FOX (2020.3.1) CANARY 6". Are you talking about the last generation of AndroidStudio (4.2 C7 or something?). I'd recommend upgrading to Arctic Fox if you haven't already. Compose often uses bleeding edge features, and your experience is going to be much better if you're keeping up with the latest Studios and AGPs.
i

itnoles

02/12/2021, 12:09 AM
Oh right, "ARCTIC FOX (2020.3.1) CANARY 6"
j

jim

02/12/2021, 12:11 AM
You should be able to open "Preferences" > "Languages & Frameworks" > "Kotlin", and then change the "Update Channel"
i

itnoles

02/12/2021, 12:12 AM
to EAP 1.4x?
j

jim

02/12/2021, 12:42 AM
Yeah
last I checked I think they were in an RC that still had a couple of bugs though
also, if you enable 1.5 language and api features, you would want to be on the 1.5 eap branch
v

Val Salamakha

02/12/2021, 12:57 AM
As I see it needs to suppress KotlinVersionCompatibilityCheck
Copy code
freeCompilerArgs += ["-Xallow-jvm-ir-dependencies",
                     "-P",
                     "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
]
to debug a project.
2 Views