kongrod
kongrod

Reputation: 1

Is it safe update to latest kotlin version while using Compose in a project?

I have read about some people having compiler problems when they update to the latest version of Kotlin while using Jetpack Compose in a project. I currently learning Compose and Android Studio is offerring me to update to Kotlin 1.7.0, but I´m not sure that if I do, it will still working.

I'm using AS Chipmunk and a regular Compose project (not the material 3 one).

Upvotes: 0

Views: 606

Answers (2)

Emmanuel Montt
Emmanuel Montt

Reputation: 376

last version stable is 1.2.0

in the documentation said use compiler compose 1.2.0 with kotlin 1.7.0

https://developer.android.com/jetpack/androidx/releases/compose-compiler#version_12_2

Support for Kotlin 1.7.0

composeOptions { kotlinCompilerExtensionVersion = "1.2.0" }

Upvotes: 0

Francesc
Francesc

Reputation: 29320

No, refer to this table to know what version of compose is compatible with which of Kotlin:

https://developer.android.com/jetpack/androidx/releases/compose-kotlin

Upvotes: 0

Related Questions