2

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 :

  1. 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
        }
    }
    
  2. 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.

ashwin mahajan
  • 1,654
  • 5
  • 27
  • 50

3 Answers3

4

I had added the maven dependency in the wrong place. It goes in the project gradle, under allprojects->repositories.

ashwin mahajan
  • 1,654
  • 5
  • 27
  • 50
0

implementation ('org.jitsi.react:jitsi-meet-sdk:3.+') { transitive = true }

Andrey
  • 11
  • 1
  • 1
    Please provide additional details in your answer. As it's currently written, it's hard to understand your solution. – Community Sep 08 '21 at 19:18
-3

This problem gets Windows-only devices

You can try to use a non-Windows operating system to work

More information from the source

5ec20ab0
  • 742
  • 6
  • 15
  • Please don't share misguiding information, and when find out that your opinion was wrong, please delete or correct it, to keep the community clear, Thanks :) – Mirwais Shah Arya Oct 20 '22 at 08:15