Cuberto/liquid-swipe

how to solve this

Opened this issue · 19 comments

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.cuberto:liquid-swipe:1.0.0.
Show Details
Affected Modules: app

may be you are using wrong key and user name
gpr.usr = user-id
gpr.key = token

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.cuberto:liquid-swipe:1.0.0.
Show Details
Affected Modules: app

I am also getting same issue, how to solve this

make sure to add github.properties file at the root level of your project.
add both
gpr.usr= (your user id - goto https://api.github.com/users/your_git_username)
gpr.key = (here paste the token generated from Settings/Developer settings/Personal access tokens/Generate new token - check the read:packages before generating token)

A problem occurred evaluating root project 'StegnoSecure'.

C:\Users\ADEMIN\AndroidStudioProjects\StegnoSecure\github.properties (The system cannot find the file specified)

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.cuberto:liquid-swipe:1.0.0.
Show Details
Affected Modules: app

I have made github.properties in root level of my app. Still I am not able to use the liquid animation

the cuberto liquid swipe is still not working ..please help me
it says -Cannot resolve class com.cuberto.liquid_swipe.LiquidPager in the xml file .and is comming in red colored text

the cuberto liquid swipe is still not working ..please help me
it says -Cannot resolve class com.cuberto.liquid_swipe.LiquidPager in the xml file .and is comming in red colored text

Yeah i'm getting this too !

Update all the dependency and libraries and try to remove com.google.supoort library

the cuberto liquid swipe is still not working ..please help me
it says -Cannot resolve class com.cuberto.liquid_swipe.LiquidPager in the xml file .and is comming in red colored text

Did any one of you resolve this issue?I am still facing this issue after trying to solve it for more than a day

me too... facing the same error!! any solution, any genius person, please let us know..

me too i have this error

Nit89 commented

same problem

LY2AD commented

fuck this

where should i paste those lines of codes as i have no allproject{ } in build.gradle(project)???

If u have new version Gradle just remove dependencyResolutionManagement from setting.gradle and work the old way, example:
buildscript {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}

plugins {
id 'com.android.application' version '7.2.0' apply false
id 'com.android.library' version '7.2.0' apply false
}

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")
            }
        }
    }
}

}

thank you bro!

I am having problem with Liquid Swipe for the latest version of Android Studio (Android Studio Giraffe | 2022.3.1 Patch 2).
It is not working when I paste the code to setting.grandle. Where shall I paste it then?