I am trying to integrate Jitsi Meet Android SDK into a simple project in native Android but it is failing to build and throwing the following error:
Failed to resolve: org.jitsi.react:jitsi-meet-sdk:+
I followed the jitsi-meet documentation for setting up pre-build SDK which only had two simple instructions :
To add the maven dependency in Project gradle:
buildscript {
repositories {
google()
jcenter()
maven {
url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Add the gradle dependency in Module gradle:
implementation('org.jitsi.react:jitsi-meet-sdk:+') { transitive = true }
I did not find any other post related to this same issue, so my guess is there is something that I am missing. Can someone please help me out here? Thank you.
I had added the maven dependency in the wrong place. It goes in the project gradle, under allprojects->repositories
.