-
Notifications
You must be signed in to change notification settings - Fork 739
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] Could not resolve all dependencies for org.matrix.android:matrix-android-sdk2 #4271
Comments
I was able to resolve the issue by adding the following to my top-level build.gradle.kts:
I took this from the top-level build.gradle in this monorepo: https://github.com/vector-im/element-android/blob/develop/build.gradle |
This should not be necessary, we do not do that for instance in the sample app Sometimes we have issue to get |
glad to hear your issue is resolved, it sounds like you were missing the jitpack repository allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
} |
Description
Hi,
I tried to integrate the matrix-android-sdk into an existing Android-app by adding the following line to my app-module's build.gradle.kts:
implementation("org.matrix.android:matrix-android-sdk2:1.3.2")
However, my build fails with the following output:
As we can see, the missing dependencies are
com.github.Zhuinden:realm-monarchy:0.7.1
andorg.matrix.android:matrix-android-sdk2:1.3.2
.Both of these missing dependencies are declared in the sdk's build.gradle as follows: https://github.com/matrix-org/matrix-android-sdk2/blob/develop/matrix-sdk-android/build.gradle
So my question is: Am I missing to declare some repositories in my top-level build.gradle?
Where are we supposed to find those Maven-dependencies?
The text was updated successfully, but these errors were encountered: