Failed to resolve: com.yarolegovich:sliding-root-nav:1.1.1

See original GitHub issue

I’m trying to setup this dependency from last 24hrs but still no clue. A little help would be much appreciated. Attaching my build.gradle files. (project)

buildscript {
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:7.0.4"
    }
}
allprojects {
    repositories {
        google()
        mavenCentral()
        def githubProperties = new Properties()
        githubProperties.load(new FileInputStream(rootProject.file("github.properties")))
        repositories {
            maven {
                name = "GitHubPackages"
                url = uri("https://maven.pkg.github.com/Cuberto/liquid-swipe-android")
                credentials {
                    username = githubProperties['gpr.usr'] ?: System.getenv("GPR_USER")
                    password = githubProperties['gpr.key'] ?: System.getenv("GPR_API_KEY")
                }
            }
        }
    }
}

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

(module)

plugins {
    id 'com.android.application'
}

android {
    compileSdk 31

    defaultConfig {
        applicationId "com.example.foodcurves"
        minSdk 21
        targetSdk 31
        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.4.1'
    implementation 'com.google.android.material:material:1.5.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
    implementation 'androidx.recyclerview:recyclerview:1.3.0-alpha01'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

    implementation 'com.airbnb.android:lottie:4.2.2'
    implementation fileTree(dir: "libs", include: ["*.jar"])
    implementation 'com.cuberto:liquid-swipe:1.0.0'
    implementation 'com.android.support:design:31.0.0'
    implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.31'
    implementation 'androidx.core:core:1.7.0'
    implementation 'androidx.core:core-ktx:1.7.0'
    
    implementation 'com.yarolegovich:sliding-root-nav:1.1.1'
}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

6reactions
sami-shahcommented, Mar 15, 2022

pluginManagement { repositories { gradlePluginPortal() google() mavenCentral() // i did this it works by just adding jcenter() jcenter() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() // i did this it works by just adding jcenter() jcenter() } }

0reactions
Gaurav-Suyall2025commented, May 28, 2022

Thanks a lot After adding jcenter(). It works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · yarolegovich/SlidingRootNav - GitHub
Issues · yarolegovich/SlidingRootNav. ... yarolegovich / SlidingRootNav Public ... Failed to resolve: com.yarolegovich:sliding-root-nav:1.1.1.
Read more >
Error when compiling after updating project to Android X
I manage to fix the issue when I updated the library to the latest version androidx.constraintlayout:constraintlayout : from 1.1.3 to 2.0.0- ...
Read more >
sliding-root-nav » 1.1.0 - com.yarolegovich - Maven Repository
https://mvnrepository.com/artifact/com.yarolegovich/sliding-root-nav --> <dependency> <groupId>com.yarolegovich</groupId> ...
Read more >
Yarolegovich Sliding Root Navigation Drawer with Source ...
yarolegovich sliding root nav , Android Studio Tutorial - ... Studio , fix Failed to resolve : com.yarolegovich :sliding- root-nav: 1.1.1 ...
Read more >
a problem occurred evaluating project ':app'. - You.com
To resolve, change com.android.tools.build:gradle:3.2.1 ... implementation 'com.yarolegovich:sliding-root-nav:1.1.1' //noinspection GradleCompatible ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found