-
Notifications
You must be signed in to change notification settings - Fork 118
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
Unable to Resolve the Dependency Although I am providing my correct user id and token key #12
Comments
I'm making the same mistake. Did you solve the problem? |
make sure to add github.properties file at the root level of your android project. |
the problem is that https://maven.pkg.github.com/Cuberto/liquid-swipe-android which loads the package is showing error 404 page not found... They need to check this link |
Here is my code after generating my token and creating github.properties file to the root level. i have added this code in build.gradle(Project: PROJECT_NAME) file
after that i've added the dependency to my build.gradle(Module: PROJECT_NAME) file
Note: I've minimum sdk set to 21 which is Android 5 API |
Refer my answer in stackoverflow |
If you are building your application with Android SDK 30, it doesn't recognize it. So switch to Android SDK 29 and you will be able to use it. |
I had added support to Android 11 too. |
Thanks got resolved the error. But when I'm using the same with Java I implemented these libraries too:
But getting this warning |
It's maybe related to the Kotlin Plugin. |
Starting from Kotlin 1.4 dependency on the standard library added by default So you can remove |
#Hey! @Udhayarajan I referred your solution to my Latest Android Studio(Electric Eel) with my compile SDK version is 33, I've been facing this issue last 5 days but can't solve it, I applied everything on my code as you say but warning still which is ->Failed to resolve: com.github.Udhayarajan:liquid-swipe-android:1.0.1 |
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.cuberto:liquid-swipe:1.0.0.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.cuberto:liquid-swipe:1.0.0.
Show Details
Affected Modules: app
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.cuberto:liquid-swipe:1.0.0.
Show Details
Affected Modules: app
The text was updated successfully, but these errors were encountered: