I have recently removed jcenter() repository from the project-level build Gradle.
Since then Koin (version: 2.2.2) started giving me the compile-time error below:
Could not find org.koin:koin-core:2.2.2
I have recently removed jcenter() repository from the project-level build Gradle.
Since then Koin (version: 2.2.2) started giving me the compile-time error below:
Could not find org.koin:koin-core:2.2.2
Adding mavenCentral repository instead of jcenter and updating the version of Koin to 3.0.1 solved the issue.
Do not forget to update the dependencies from org.koin to io.insert-koin as well.
Now use implementation "io.insert-koin:koin-core:3.0.1" and remove jcenter from project build.gradle