Closed MikolajKakol closed 1 month ago
There's defintely an issue that android compilation doesn't work while ios works. But as a workaround adding the dependency explicitly helps:
val commonMain by getting {
dependencies {
....
implementation(compose.animation)
implementation("org.jetbrains.compose.ui:ui-util:1.4.0")
}
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug I'm using a template https://github.com/JetBrains/compose-multiplatform-ios-android-template and there adding:
It will cause code not to compile on the Android target while it is building on iOS. Note that this is also perfectly fine on regular Android projects.
It will fail with errors like
Unresolved reference: util
,Unresolved reference: fastFirstOrNull
etcOther things that don't compile:
rememberInfiniteTransition(label = "loading")
Cannot find a parameter with this name: label
Affected platforms Select one of the platforms below:
Versions