Hi, I am converting my android library to support ...
# multiplatform
d
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]
I have solved this issue by replacing
coroutines
wtih
1.5.0-native-mt
a
That is looking like a caching issue. But I am using 1.5.2-native-mt, together with 1.5.30
No problems so far
s
Same here. 1.5.2-native-mt and 1.5.30 seem to be compatible for my app, too
d
Yeah, I think it’s a caching issue. Thanks for all your feedback.
l
I'm having the same issue here https://youtrack.jetbrains.com/issue/KT-51677 . But I don't use coroutines on this module