Skip to content
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

can not add library to project "can't download failed" #216

Open
Akshar062 opened this issue Dec 16, 2023 · 1 comment
Open

can not add library to project "can't download failed" #216

Akshar062 opened this issue Dec 16, 2023 · 1 comment

Comments

@Akshar062
Copy link

Akshar062 commented Dec 16, 2023

i have android java project want to use libraries and i have follow all step and when i run my app it was showing "download jitsi-meet-sdk " for half hour then it failed
Untitled

this is in my build log

image

`plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}

android {
namespace 'com.akshar.videochat'
compileSdk 34

defaultConfig {
    applicationId "com.akshar.videochat"
    minSdk 24
    targetSdk 34
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
    release {

        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}

dependencies {

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.firebase:firebase-auth:22.3.0'
implementation 'com.google.firebase:firebase-firestore:24.10.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

apply plugin: 'com.google.gms.google-services'
implementation 'com.google.android.gms:play-services-auth:20.7.0'
implementation 'com.github.bumptech.glide:glide:4.12.0'

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

}`

this is my setting.gradle

`pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven {
url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases"
}
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
}

rootProject.name = "Video Chat"
include ':app'
`

in the end after 30 min i get

Failed to resolve: org.jitsi.react:jitsi-meet-sdk:8.2.2 Show in Project Structure dialog Show Details Affected Modules: app

@saghul
Copy link
Member

saghul commented Dec 21, 2023

Can you try to use the latest version? That is 8.6.0.

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

No branches or pull requests

2 participants