Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Unable to use via Jitpack #241

Closed
MTRNord opened this issue Mar 4, 2018 · 3 comments · Fixed by element-hq/riot-android#3148
Closed

Unable to use via Jitpack #241

MTRNord opened this issue Mar 4, 2018 · 3 comments · Fixed by element-hq/riot-android#3148

Comments

@MTRNord
Copy link

MTRNord commented Mar 4, 2018

Hi I tried to use this via Jitpack but I get the following error from Android Studio:

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.matrix-org:matrix-android-sdk:v0.9.0.

Could not resolve com.github.matrix-org:matrix-android-sdk:v0.9.0.
Required by:
    project :app
 > Could not resolve com.github.matrix-org:matrix-android-sdk:v0.9.0.
    > Could not parse POM https://jitpack.io/com/github/matrix-org/matrix-android-sdk/v0.9.0/matrix-android-sdk-v0.9.0.pom
          > Missing required attribute: dependency groupId

Is there a way that can be fixed on the repo size or someone here with tips to fix it on my side?

@MTRNord
Copy link
Author

MTRNord commented Mar 4, 2018

My problem is propably related to this: https://jitpack.io/docs/#building-with-jitpack (See next comment)

@MTRNord
Copy link
Author

MTRNord commented Mar 4, 2018

Oh it is a combination of the missing "android-maven-gradle-plugin" plugin and having this

compile(name: 'olm-sdk', ext: 'aar')

    // replace the compile 'io.pristine:libjingle:9690@aar'
compile(name: 'react-native-webrtc', ext: 'aar')

@bmarty
Copy link
Contributor

bmarty commented May 3, 2019

It's seems to work fine today, and I'm using it for Riot \o/
Due to fact that OLM lib is now linked using jitpack as well
https://jitpack.io/#matrix-org/matrix-android-sdk/

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

Successfully merging a pull request may close this issue.

2 participants