Hi, I am converting my android library to support multiplatform (android & ios) but I have encountered the dependencies issue with coroutines.
I am using
Kotlin v1.5.30
and
coroutines v1.5.2-native-mt
. Does anyone have experienced the same issue?
Copy code
w: skipping /Users/davidliu/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-iosx64/1.5.2-native-mt/fd419ceca95f3403fe6e22ec714dd04a746656a/kotlinx-coroutines-core.klib. Incompatible abi version. The current default is '1.4.2', found '1.5.0'. The library produced by 1.5.30 compiler
e: Could not find "/Users/davidliu/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core-iosx64/1.5.2-native-mt/fd419ceca95f3403fe6e22ec714dd04a746656a/kotlinx-coroutines-core.klib" in [/Users/davidliu/Repostories/android-library, /Users/davidliu/.konan/klib, /Users/davidliu/.konan/kotlin-native-prebuilt-macos-1.5/klib/common, /Users/davidliu/.konan/kotlin-native-prebuilt-macos-1.5/klib/platform/ios_x64]
David Liu
09/13/2021, 11:18 PM
I have solved this issue by replacing
coroutines
wtih
1.5.0-native-mt
a
andylamax
09/14/2021, 12:16 AM
That is looking like a caching issue. But I am using 1.5.2-native-mt, together with 1.5.30
andylamax
09/14/2021, 12:16 AM
No problems so far
s
Stefan Oltmann
09/14/2021, 7:14 AM
Same here. 1.5.2-native-mt and 1.5.30 seem to be compatible for my app, too
d
David Liu
09/15/2021, 5:04 AM
Yeah, I think it’s a caching issue. Thanks for all your feedback.