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

how to solve this #15

Open
jindvirsingh opened this issue Oct 14, 2020 · 19 comments
Open

how to solve this #15

jindvirsingh opened this issue Oct 14, 2020 · 19 comments

Comments

@jindvirsingh
Copy link

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

@timorshahtahib
Copy link

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

@rahulyadav97185966
Copy link

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

@akashchaudhary-git
Copy link

akashchaudhary-git commented Feb 27, 2021

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)

@rahulyadav97185966
Copy link

rahulyadav97185966 commented Mar 3, 2021 via email

@Sandydalvi2001
Copy link

A problem occurred evaluating root project 'StegnoSecure'.

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

@Ekaghni
Copy link

Ekaghni commented May 25, 2021

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

@RajveerJhalani
Copy link

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

@silentworker101
Copy link

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 !

@AnkitMandusia
Copy link

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

@jony1234csc
Copy link

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

@Rubayet12
Copy link

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

@ParagBharadia
Copy link

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

@rameshMonika
Copy link

me too i have this error

@Nit89
Copy link

Nit89 commented Jan 11, 2022

same problem

@LY2AD
Copy link

LY2AD commented Feb 11, 2022

fuck this

@Kuldeep425
Copy link

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

@etechnology
Copy link

etechnology commented Jun 6, 2022

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

}

@tahammnour
Copy link

thank you bro!

@matgod89
Copy link

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?

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