saibotma / jitsi_meet_wrapper

Jitsi Meet Plugin for Flutter. Wrapping JitsiMeetSDK for Android and iOS.
BSD 3-Clause "New" or "Revised" License
26 stars 62 forks source link

Gradle sync issue in Flutter 3.3.0 #82

Open ccs1428 opened 1 year ago

ccs1428 commented 1 year ago

Trying to create a new project and use jitsi_meet_wrapper: ^0.0.6 . gradle sync is failed with Failed to resolve: org.jitsi.react:jitsi-meet-sdk:7.0.1

Using below configuration in project

`buildscript { ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() }

dependencies {
    classpath 'com.android.tools.build:gradle:7.4.1'
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}

}

allprojects { repositories { maven { url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases" } google() mavenCentral() maven { url 'https://www.jitpack.io' } } }

rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') }

task clean(type: Delete) { delete rootProject.buildDir } `

ccs1428 commented 1 year ago

Getting this error

`Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve org.jitsi.react:jitsi-meet-sdk:7.0.1. Required by: project :app > project :jitsi_meet_wrapper Could not resolve org.jitsi.react:jitsi-meet-sdk:7.0.1. Could not get resource 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/org/jitsi/react/jitsi-meet-sdk/7.0.1/jitsi-meet-sdk-7.0.1.pom'. Could not GET 'https://raw.githubusercontent.com/jitsi/jitsi-maven-repository/master/releases/org/jitsi/react/jitsi-meet-sdk/7.0.1/jitsi-meet-sdk-7.0.1.pom'. Connect to raw.githubusercontent.com:443 [raw.githubusercontent.com/49.44.79.236, raw.githubusercontent.com/2405:200:1607:2820:41:0:0:36] failed: connect timed out`

saibotma commented 1 year ago

Hey there,

please try the newest release and create a reproducible example if it still does not work.