https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

Sergio C.

09/10/2019, 7:38 PM
hi all, anyone had this error:
Copy code
Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android'
?? started happening out of the blue! 😮
o

octylFractal

09/10/2019, 7:40 PM
probably the service loader can't find the main-provider. what does your build file look like?
s

Sergio C.

09/10/2019, 7:41 PM
Copy code
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.1'
    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.1'
😮 wtf
removed those lines and now it doesn't crash
🙄
hmm probably interference with other modules
l

louiscad

09/11/2019, 6:07 AM
Try cleaning build cache
7 Views