-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Failed to resolve:com.github.PhilJay:MPAndroidChart:v2.2.5 #1918
Comments
why u closed without specification. its not working |
Because I spent about as much time as you did on resolving the issue.
I just tested resolving v2.2.5 on a demo project, it worked just fine. Without any further information I have absolutely no idea why it's not working for you. |
its not working man |
@patelanil2007 you are providing no other information other than it is not working. How is he supposed to help you? You probably added jitpack.io to the wrong section of your project build.gradle see: http://stackoverflow.com/questions/32718820/failed-to-resolve-com-github-philjaympandroidchartv2-1-4 |
@pfives i have added below code in app's Build.gradle
got below error
i try to find lib from Library Dependency but can't find |
@patelanil2007 that is still not enough context. You need to have it under your allprojects script in your top level build.gradle.
|
Just in case someone still having the similar issue: I had this problem even though I set the jitpack.io url to the appropriate section in my build.gradle, as many closed issues I found having the same old replies, but none are working for me. The problem lies with the distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip Ref: |
I am having the same problem, changing the distribution url in |
Same problem for me, no solution is working! |
@pfives 's comments worked. I just fixed my problem. |
Not working for me too |
If you have multiple maven repositories, do it like this
|
Believe it or not Im changing URL from maven { url "https://www.jitpack.io" } Now its working, what happen with triple www |
for ones who still have this issue. You will need to separate jitpack and maven repos into buildscript and all project repositories. allprojects { it works fine for me. |
Nice work Dude. |
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.github.PhilJay:MPAndroidChart:v3.0.3. Could not get resource 'https://jcenter.bintray.com/com/github/PhilJay/MPAndroidChart/v3.0.3/MPAndroidChart-v3.0.3.pom'. problem is that when i put this address in chorom https://jcenter.bintray.com/com/github/PhilJay/MPAndroidChart BTW
} allprojects {
} task clean(type: Delete) { |
I have getting same issue i have just put the version name like this: compile 'com.github.kittinunf.fuel:fuel:1.12.0' //for JVM And it will Resolve. Reagrd |
Please add below code in gradle file: repositories {
} |
buildTypes { repositories { dependencies { } Its not working |
I have solved this issue by Disable the Gradle offline work in settings. Go to File>Setting>Gradle Disable Offline Work, |
This works for me :D |
repositories { dependencies { } its working |
it is work on android studio 3.4 |
https://stackoverflow.com/a/37892027/10699119 this link save my life |
Yeah, its working for me,
3.In tour gradle.build (Module:app) |
I had the same problem, but it was solved adding: buildscript {
} allprojects { Thanks, Phil Jay for this amazing library 👍 |
Update the readme to show exactly where to place maven { url 'https://jitpack.io' } |
With a new project and an empty Activity in Android Studio, I needed to add maven {url 'https://jitpack.io'} to settings.gradle
|
Failed to resolve resolve:com.github.PhilJay:MPAndroidChart:v3.1.0 im using android studio version 2020.3.1 |
Add it in your settings.gradle
|
5 years later and this thing is still here (and no solutions work) |
For some reason this worked. I think it was putting the maven url in settings.gradle. |
In my 7 years Android practice this is the first library which required editing settings.gradle |
Perfect function. |
I also have this problem but I did this added maven { url 'https://jitpack.io' } settings.gradle |
It finally worked for me as well dependencyResolutionManagement { |
No description provided.
The text was updated successfully, but these errors were encountered: