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

Unable to build - missing dependencies (jcenter sunset) #136

Open
jonprp opened this issue Aug 27, 2024 · 4 comments
Open

Unable to build - missing dependencies (jcenter sunset) #136

jonprp opened this issue Aug 27, 2024 · 4 comments

Comments

@jonprp
Copy link

jonprp commented Aug 27, 2024

Unable to build app with citrix mam sdk added due to missing dependencies. I think this relates to jcenter being recently shot down.

If it still builds for you - remove gradle cache and you should see same issue.

Cause 1: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.koin:koin-core:2.0.1.
Searched in the following locations:
  - https://raw.githubusercontent.com/citrix/citrix-mam-sdks/main/maven/org/koin/koin-core/2.0.1/koin-core-2.0.1.pom
  - https://repo.maven.apache.org/maven2/org/koin/koin-core/2.0.1/koin-core-2.0.1.pom
  - https://dl.google.com/dl/android/maven2/org/koin/koin-core/2.0.1/koin-core-2.0.1.pom
  - https://jitpack.io/org/koin/koin-core/2.0.1/koin-core-2.0.1.pom
  - https://oss.jfrog.org/artifactory/oss-snapshot-local/org/koin/koin-core/2.0.1/koin-core-2.0.1.pom
Required by:
    project :app > com.citrix.android.sdk:mamsdk:24.7.0.1 > com.citrix.android:workspacehelperlib:Release_20.12.0-2
    project :app > com.citrix.android.sdk:mamsdk:24.7.0.1 > com.citrix.android:authmanagerlitelib:Release_22.9.0-1
Cause 2: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.koin:koin-android:2.0.1.
Searched in the following locations:
  - https://raw.githubusercontent.com/citrix/citrix-mam-sdks/main/maven/org/koin/koin-android/2.0.1/koin-android-2.0.1.pom
  - https://repo.maven.apache.org/maven2/org/koin/koin-android/2.0.1/koin-android-2.0.1.pom
  - https://dl.google.com/dl/android/maven2/org/koin/koin-android/2.0.1/koin-android-2.0.1.pom
  - https://jitpack.io/org/koin/koin-android/2.0.1/koin-android-2.0.1.pom
  - https://oss.jfrog.org/artifactory/oss-snapshot-local/org/koin/koin-android/2.0.1/koin-android-2.0.1.pom
Required by:
    project :app > com.citrix.android.sdk:mamsdk:24.7.0.1 > com.citrix.android:workspacehelperlib:Release_20.12.0-2
    project :app > com.citrix.android.sdk:mamsdk:24.7.0.1 > com.citrix.android:authmanagerlitelib:Release_22.9.0-1
Cause 3: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.linkedin.dexmaker:dexmaker:2.19.1.
Searched in the following locations:
  - https://raw.githubusercontent.com/citrix/citrix-mam-sdks/main/maven/com/linkedin/dexmaker/dexmaker/2.19.1/dexmaker-2.19.1.pom
  - https://repo.maven.apache.org/maven2/com/linkedin/dexmaker/dexmaker/2.19.1/dexmaker-2.19.1.pom
  - https://dl.google.com/dl/android/maven2/com/linkedin/dexmaker/dexmaker/2.19.1/dexmaker-2.19.1.pom
  - https://jitpack.io/com/linkedin/dexmaker/dexmaker/2.19.1/dexmaker-2.19.1.pom
  - https://oss.jfrog.org/artifactory/oss-snapshot-local/com/linkedin/dexmaker/dexmaker/2.19.1/dexmaker-2.19.1.pom
Required by:
    project :app > com.citrix.android.sdk:mamsdk:24.7.0.1 > com.citrix.android.sdk:mvpnsdk:24.7.0.2
@simzard
Copy link

simzard commented Sep 7, 2024

I had the same issue. I found an old mirror of the old jcenter dependencies among others. Use

maven { url "https://mirrors.huaweicloud.com/repository/maven/" }

And you will get your missing koin dependencies. Hope that helps! :)
The problem is that koin have relocated under a different package name, but citrix hasn't changed their source to point towards that yet...

@Annie-XIE
Copy link
Collaborator

@jonprp @simzard We will check and handle this issue
CC @xingliangt

@xingliangt
Copy link
Collaborator

xingliangt commented Sep 29, 2024

@jonprp @simzard
we have already add koin-core koin-android 2.0.1 and dexmaker-2.28.3 in github at this commit:27994a8
please try again. Thanks!

@herrskytte
Copy link

@jonprp @simzard we have already add koin-core koin-android 2.0.1 and dexmaker-2.28.3 in github at this commit:27994a8 please try again. Thanks!

Only cordova are updated with these dependencies. Please fix android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants