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

ERROR: Failed to resolve: com.github.hajiyevelnur92:intentanimation:1.0 #4

Open
DamiTesfaye opened this issue Mar 31, 2019 · 2 comments

Comments

@DamiTesfaye
Copy link

Hi, Im new to android development. I was trying out the intent animation library;

allprojects { repositories { google() jcenter() maven {url 'https//jitpack.io'} }

dependencies{ implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.0-beta01' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'com.muddzdev:styleabletoast:2.2.1' compile 'com.github.hajiyevelnur92:intentanimation:1.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.0-alpha4' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4' }

and I got stuck with this error:

ERROR: Failed to resolve: com.github.hajiyevelnur92:intentanimation:1.0
Show in Project Structure dialog
Affected Modules: app

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: app

So I tried changing "compile" to "implementation" and "api" and got this error in both cases
ERROR: Failed to resolve: com.github.hajiyevelnur92:intentanimation:1.0
Show in Project Structure dialog
Affected Modules: app

Please help me , thank you

@ghost
Copy link

ghost commented May 5, 2019

Sorry fo bad English, but I want to help.
Put this string in duild.gradle (project: "name") / allprojects. I've got a simmilar proplem, when i was try to put this string in wrong place duild.gradle (project: "name") / buildscript
2019-05-06_00-33-13

@EyeZen
Copy link

EyeZen commented Feb 5, 2022

Got the same error.
Solution: add mavel { url 'https://jitpack.io } in the file: settings.gradle

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