https://kotlinlang.org logo
#android
Title
# android
r

Rafa

11/27/2019, 12:42 AM
I just updated to Kotlin 1.3.60 and when I try and build my project I get
Unable to load class 'kotlin.coroutines.Continuation'
on the task
:app:kaptGenerateStubsDevDebugKotlin
When I revert back to kotlin 1.3.50, it builds fine and everything works. Is there anything about 1.3.60 that might be causing this to happen?
d

Dominaezzz

11/27/2019, 12:49 AM
Clean?
h

hikkidev

11/27/2019, 2:30 AM
"Invalidate cache and restart" our all
a

Alexey Belkov [JB]

11/27/2019, 7:54 AM
Invalidating caches won't help with a Gradle build. AFAIK, coroutines still haven't been released for Kotlin 1.3.60+: https://github.com/Kotlin/kotlinx.coroutines (it only mentions 1.3.50).
c

Chainchelliah

11/27/2019, 9:11 AM
1.3.61 has available now. update and check?
r

Rafa

11/27/2019, 2:42 PM
yea not really sure what's going on. It runs correctly the first time (after I update to 60 or 61) but then anything after that fails. It fails on CI too. Thanks for all the suggestions, just wanted to get a pulse as to whether it was something that was happening to anyone else with the Kotlin update