Pablichjenkov
07/21/2023, 10:09 PMkotlin = 1.8.21
gradle = 7.5.1
cmp = 1.5.0-dev1114
Builds ok but crash at runtime whenever a TextField() composable runs
kotlin = 1.9.0
gradle = 7.5.1
cmp = 1.5.0-dev1114
Does not build. I get bellow message:
"Unresolved reference: skiko"
Doesn’t seem any close to stableArjan van Wieringen
07/23/2023, 6:54 AMPablichjenkov
07/23/2023, 9:43 AMArjan van Wieringen
07/23/2023, 10:33 AMChris
07/23/2023, 11:28 PMdev1114
, so I appreciate it.Pablichjenkov
07/23/2023, 11:38 PMOleksandr Karpovich [JB]
07/24/2023, 10:47 AMBuilds ok but crash at runtime whenever a TextField() composable runsI was able to reproduce this. Adding
<http://kotlin.incremental.js.ir|kotlin.incremental.js.ir>=false
in gradle.properties helps.
Building a production distibution helps too.
I'll report this to k/js team.
UPD: here it's https://youtrack.jetbrains.com/issue/KT-60635/K-JS-Runtime-crash-in-development-build-with-incremental-compilation
_
"Unresolved reference: skiko"Do you call skiko APIs explicitly in your code? You have to add an explicit dependency implementation(skiko...). Soon it will be possible to use DSL to simplify it https://github.com/JetBrains/compose-multiplatform/pull/3370 Reason: https://youtrack.jetbrains.com/issue/KT-56158
Pablichjenkov
07/24/2023, 1:06 PMOleksandr Karpovich [JB]
07/24/2023, 1:08 PMPablichjenkov
07/24/2023, 1:18 PMPablichjenkov
07/25/2023, 1:00 AM