Hello, i've upgraded compose version from 1.4.0 to 1.4.3. Getting the following. Please advice
Module "org.jetbrains.compose.ui:ui (org.jetbrains.compose.ui:ui-uikitarm64)" has a reference to symbol androidx.compose.runtime/CompositionLocalProvider|-195475592741065473[0]. Neither the module itself nor its dependencies contain such declaration.
This could happen if the required dependency is missing in the project. Or if there is a dependency of "org.jetbrains.compose.ui:ui (org.jetbrains.compose.ui:ui-uikitarm64)" that has a different version in the project than the version that "org.jetbrains.compose.ui:ui (org.jetbrains.compose.ui:ui-uikitarm64): 1.4.3" was initially compiled with. Please check that the project configuration is correct and has consistent versions of all required dependencies.
The list of "org.jetbrains.compose.ui:ui (org.jetbrains.compose.ui:ui-uikitarm64): 1.4.3" dependencies that may lead to conflicts:
1. "org.jetbrains.compose.ui:ui-geometry (org.jetbrains.compose.ui:ui-geometry-uikitarm64): 1.4.3" (was initially compiled with "org.jetbrains.compose.ui:ui-geometry (org.jetbrains.compose.ui:ui-geometry-uikitarm64)")
2. "stdlib: 1.8.20" (was initially compiled with "stdlib: 1.6.20")
3. "org.jetbrains.kotlin.native.platform.CoreFoundation: 1.8.20" (was initially compiled with "org.jetbrains.kotlin.native.platform.CoreFoundation: 1.6.21")
4. "org.jetbrains.kotlin.native.platform.darwin: 1.8.20" (was initially compiled with "org.jetbrains.kotlin.native.platform.darwin: 1.6.21")
5. "org.jetbrains.kotlin.native.platform.posix: 1.8.20" (was initially compiled with "org.jetbrains.kotlin.native.platform.posix: 1.6.20")
6. "org.jetbrains.kotlinx:atomicfu (org.jetbrains.kotlinx:atomicfu-iosarm64): 0.17.3" (was initially compiled with "org.jetbrains.kotlinx:atomicfu (org.jetbrains.kotlinx:atomicfu-iosarm64): 0.17.0")
7. "org.jetbrains.kotlinx:kotlinx-coroutines-core (org.jetbrains.kotlinx:kotlinx-coroutines-core-iosarm64): 1.6.4" (was initially compiled with "org.jetbrains.kotlinx:kotlinx-coroutines-core (org.jetbrains.kotlinx:kotlinx-coroutines-core-iosarm64)")
p
Pablichjenkov
08/02/2023, 7:54 AM
What happens if you explicitly specify compose-ui and compose-runtime versions in that module giving the error. It seems that you are depending on some library that brings transitive dependencies with different versions of what you have. Explicitly specify the version