trying to play with coroutines in 1.3 190 I get: `...
# coroutines
e
trying to play with coroutines in 1.3 190 I get:
Copy code
Class 'kotlinx.coroutines.BuildersKt__Builders_commonKt' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler Class 'kotlinx.coroutines.CoroutineStart' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler Class 'kotlinx.coroutines.Job' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler Class 'kotlinx.coroutines.Job' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
e
Double-Check your versions in dependencies
ps: I'm off, to tomorrow 🙂
hei @elizarov did you see my deps?
e
org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0-eap13
That is what I see and it is why you get the message
You should be using
1.0.0-RC1
version
e
so, I'm using that
it looks like successfully imported
but it cant find
launch
apparently
e
But I see a different version in your dependenceis
Copy code
+--- org.jetbrains.kotlinx:kotlinx-coroutines-core:0.24.0-eap13
also
jcenter
is there
e
IDK. the gist you’ve attached shows a different version
e
it was the old one
I updated following your tuip
e
So, does it work for you now?
(if not, what’s the error)
e
no
it cant find
launch
and
import kotlinx.coroutines.launch
appears unused
if I click on it I end up in the
1.0.0-RC1-sources.jar
e
Hm…. That is strange. Did it import into IDE without errors?
e
lets invalidate
yes
e
Try invalidate caches / restart. That might be the problem because of old (pre-release) classes
Everything else looks Ok to me
e
nothin, always unresolved
could you give a try and clone it?
e
Works fine for me.
You should probably update your Kotlin Plugin in IDEA to the latest EAP RC build
e
isnt 190?
it looks so here