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.
https://github.com/InsertKoinIO/koin#maven-central
Now use implementation "io.insert-koin:koin-core:3.0.1"
and remove jcenter
from project build.gradle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With