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

Orhan Tozan

03/01/2021, 1:13 PM
I'm currently on Kt 1.4.31 and getting the following error: `This version (1.0.0-alpha13) of the Compose Compiler requires Kotlin version 1.4.30 but you appear to be using Kotlin version 1.4.31 which is not known to be compatible. Please fix your configuration (or
suppressKotlinVersionCompatibilityCheck
but don't say I didn't warn you!).` Is it recommended to use
suppressKotlinVersionCompatibilityCheck
or revert from 1.4.31 to 1.4.30?
c

Colton Idle

03/01/2021, 1:52 PM
I asked a similar question a few days ago if you want to search for it.
j

jim

03/01/2021, 3:00 PM
The "recommendation" is to only use Compose with the supported version of kotlin. But if you were to suppress, I'm 99% sure it would work (or undefined results/crashes may occur 😛).
c

Colton Idle

03/01/2021, 3:01 PM
I'm using 1.4.31 just because I'm trying to improve kotlin/AS performance where I can. Compose seems to work fine for me.
s

Samir Basnet

03/01/2021, 4:53 PM
@Colton Idle Is Android Studio performance improved with Kotlin 1.4.31??
j

jim

03/01/2021, 5:00 PM
I would be shocked if upgrading to 1.4.31 in your build file improved studio performance, as studio would presumably still be running the older version of Kotlin (the version embedded into canary8).
👍 1
c

Colton Idle

03/01/2021, 5:12 PM
@Samir Basnet not that I can tell. @jim yeah. It's just at this point I'll try anything. Writing kotlin in android studio is the most painful part of my day. Everything is so slow and laggy. You almost can barely tell that I have a Mac pro with 192 gigs of ram. 😭
Still hoping that documentation from the android team could help with where to target my ram: https://issuetracker.google.com/issues/120953354 Also, holding my breath on new kotlin frontend compiler. I've submitted multiple bug reports to jetbrains already. They have basically said new FE compiler will alleviate my issues. If I can get new FE compiler this year, plus gradle to make some radical improvements on incremental builds, then it'll be a good year. Until then android development is unfortunately a nightmare.
s

Samir Basnet

03/01/2021, 8:39 PM
@Colton Idle On a serious note which Mac are you using? Ram? I am planning to buy M1 Mac 16 Gb . Currently i own a Lenovo 8 Gb laptop with HDD and you can already guess how painfully slow it is. Like slowness from Hell. Especially with Kotlin , i did not used to experience this level of slow and lags when i was using Java, And with Canary and using Compose the slowness has achieved another level.
c

Colton Idle

03/01/2021, 8:45 PM
Mac pro with 192GB of ram.
😂 3
It's still slow. Web dev is fun though.