Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find org.koin:koin-android:2.1.5. #13

Closed
juliankotrba opened this issue May 21, 2021 · 4 comments
Closed

Could not find org.koin:koin-android:2.1.5. #13

juliankotrba opened this issue May 21, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@juliankotrba
Copy link

juliankotrba commented May 21, 2021

Describe the bug
After including the newest version (5.0.8) in our dependencies block (dependencies { implementation 'com.mapp.sdk:intelligence-android:5.0.8' }) we get the following error during a Gradle build:

> Could not resolve all files for configuration ':****'.
   > Could not find org.koin:koin-android:2.1.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/koin/koin-android/2.1.5/koin-android-2.1.5.pom
       - https://repo.maven.apache.org/maven2/org/koin/koin-android/2.1.5/koin-android-2.1.5.pom
       - https://jitpack.io/org/koin/koin-android/2.1.5/koin-android-2.1.5.pom
     Required by:
         project :APAWLApp > com.mapp.sdk:intelligence-android:5.0.8

According to the error, the above mentioned koin version cannot be found on maven central.

The developers of koin recently changed the maven central group id from org.koin to io.insert-koin [1] so this build error probably results from the renaming.

[1]: https://github.com/InsertKoinIO/koin#maven-central, 21.05.2021, HEAD d9fdc2266d03ac64c6e7c3946046a052993d8dae

@acamarinkovic
Copy link
Contributor

Hi, Julian

Thank you for opening the issue. Yes, that is probably true. But your Gradle did not search on JCenter (JCenter should be still active), so pls enable JCenter. In the near future, we will completely eliminate Jcentar from the project. When we moved our library to Maven Central, some dependencies were still only on the Center.
I hope this will solve the issue.

@acamarinkovic acamarinkovic pinned this issue May 21, 2021
@juliankotrba
Copy link
Author

Hi @acamarinkovic , thanks for the reply!

We are already migrating away from JCenter and webtrekk is the last dependency which depends on jcenter in our project.
Since the README states "For versions of 5.0.8+ we are use mavenCentral() because JCenter is shutting down" we thought that webtrekk >= 5.0.8 is already migrated. Maybe it is more clear if you explicitly state that JCenter is still required.

Can you roughly say when the migration will be finished?

Thanks, Julian

@acamarinkovic
Copy link
Contributor

Probably in the next release we will use all dependency from the maven. Our library is on MavenCentral but some dependencies are still on JCentrel. I don't have an exact date, but certainly very soon.

@acamarinkovic acamarinkovic added the enhancement New feature or request label May 21, 2021
@acamarinkovic acamarinkovic self-assigned this May 21, 2021
@acamarinkovic
Copy link
Contributor

JCenter is removed in V 5.0.9.

@acamarinkovic acamarinkovic changed the title [BUG] Could not find org.koin:koin-android:2.1.5. Could not find org.koin:koin-android:2.1.5. Jun 17, 2021
@acamarinkovic acamarinkovic unpinned this issue Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants