prof18 / RSS-Parser

A Kotlin Multiplatform library to parse a RSS Feed
Apache License 2.0
509 stars 129 forks source link

Class file for kotlin.coroutines.Continuation not found #79

Closed IvanMazzoli closed 3 years ago

IvanMazzoli commented 3 years ago

Ciao Marco, while cleaning up a bit my dependencies (or implementations, how they are now called) and then rebuilding it appeared the following error:

parser.parse(rawData, NewsActivity.this);
                      ^
  class file for kotlin.coroutines.Continuation not found

Tried to clean and rebuild, invalidate the cache but nothing works. I'm currently using version 3.1.0

IvanMazzoli commented 3 years ago

Turns out that my Gradle/Android Studio has some corrupted files. Tested in another PC with the same settings and versions and it works flawlessly.

Sorry for wasting your time!

PS, don't drop Java support :'(

prof18 commented 3 years ago

Don’t worry!

IvanMazzoli commented 3 years ago

Btw, I've also found out that if your project is in Java adding implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.22.2" to the project dependecies helps!