https://kotlinlang.org logo
Title
a

Andrey

03/05/2023, 1:53 PM
Hello, I have a small problem with kotlin multiplatform. I'm only interested in the sharedLib build mode. Can I use a coroutine for my shared lib? After reading the documentation and spending a couple of hours researching, I understand that this is not available under the androidNativeX86 platform? I used sourceSets { commonMain { dependencies { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.3-native-mt") } } val androidNativeX86Main by getting } Any ideas, thanks
h

hfhbd

03/05/2023, 2:02 PM
The androidNativeX86 target will be supported in an upcoming release of coroutines.
a

Andrey

03/05/2023, 2:04 PM
That sounds very cool, can I find out how long it will take?
r

Randy Tang

03/06/2023, 6:54 AM
What does androidnativex86 refer to here?
a

Andrey

03/18/2023, 9:21 AM
It turns out that there are forks of libraries on github, and also implementations for androidx86. Using them, I was able to realize my plan
h

hfhbd

03/18/2023, 11:46 AM
Or try 1.7.0-Beta
a

Andrey

03/18/2023, 11:47 AM
Damn, I couldn't find the beta releases (Can you provide a link?
a

Andrey

03/18/2023, 11:52 AM
Thank you