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

[SDK] Referenced OLM repository cannot be found #3150

Closed
tladesignz opened this issue Apr 9, 2021 · 2 comments
Closed

[SDK] Referenced OLM repository cannot be found #3150

tladesignz opened this issue Apr 9, 2021 · 2 comments

Comments

@tladesignz
Copy link

This line:

https://github.com/matrix-org/matrix-android-sdk2/blob/v1.1.1/matrix-sdk-android/build.gradle#L158

Leads to this output:

Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find org.matrix.gitlab.matrix-org:olm:3.2.2.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/org/matrix/gitlab/matrix-org/olm/3.2.2/olm-3.2.2.pom
       - https://jcenter.bintray.com/org/matrix/gitlab/matrix-org/olm/3.2.2/olm-3.2.2.pom
       - https://jitpack.io/org/matrix/gitlab/matrix-org/olm/3.2.2/olm-3.2.2.pom
       - https://github.com/vector-im/jitsi_libre_maven/raw/master/android-sdk-2.9.3/org/matrix/gitlab/matrix-org/olm/3.2.2/olm-3.2.2.pom
     Required by:
         project :app > com.github.matrix-org:matrix-android-sdk2:v1.1.1

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

JitPack doesn't know about anything:

Jitpack-olm

@bmarty
Copy link
Member

bmarty commented Apr 9, 2021

Yes, this is a recurring problem (see jitpack/jitpack.io#3908). We are currently working to find another solution.

@tladesignz
Copy link
Author

Urgh. Ok, thanks for letting me know and sorry for the disturbance.

Sometimes it works sometimes not? Looks like an issue with differing mirror configurations. Also never experienced that with github.com and gitlab.com sources. Maybe you want to move the OLM stuff to Github, too?

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

No branches or pull requests

2 participants