Android - Failed To Resolve - Com - github.PhilJay - MPAndroidChart - v2.1.4 - Stack Overflow PDF
Android - Failed To Resolve - Com - github.PhilJay - MPAndroidChart - v2.1.4 - Stack Overflow PDF
Home
PUBLIC
Stack Overflow
Tags
Failed to resolve: com.github.PhilJay:MPAndroidChart:v2.1.4 Ask Question
Users
Jobs I am using MPAndroidChart libarary in android studio.But when i am trying to sync gradle which given asked 3 years, 4 months ago
an error as below image. Gradle text is here to compile MPAndroidChart libarary.
viewed 23,630 times
34 compile 'com.github.PhilJay:MPAndroidChart:v2.1.4'
Teams active 23 days ago
Q&A for work
Learn More
5
share improve this question edited Sep 22 '15 at 21:49 asked Sep 22 '15 at 13:54
Philipp Jahoda pRaNaY
37.1k 17 121 145 13.4k 11 67 113
7 Have you added maven { url "https://jitpack.io" } to your repositories? – Andrew Brooke Sep 22 '15
at 13:58
Work from anywhere
1 Just adding to @AndrewBrooke comment, you should go to your project gradle.build and add this line on
repository: maven { url "jitpack.io" }. My project is like this: allprojects { repositories { jcenter() maven { url
"jitpack.io" } } } – filipe.costa01 Sep 22 '15 at 14:12 Elasticsearch Engineer - PHP
Browzzin Pte Ltd No office location
Yes there is. and i also can't find search result for com.github.PhilJay:MPAndroidChart in Choose library
dependancy in Project sturucture --> app --> Dependancy --> +(add) --> Choose library dependacy search – $40K - $60K REMOTE
pRaNaY Sep 22 '15 at 14:13 php elasticsearch
add a comment
Senior Rails Engineer (100% Remote or
Onsite in SF) MyTime Series B SaaS
14 Answers active oldest votes Startup
Source Coders No office location
$130K - $160K REMOTE
Linked
1 Failed to resolve:
com.github.PhilJay.MPAndroidChart:v2.2.4
-1 Failed to resolve:
com.github.mopa11:MainDemo1:1.0.0
add a comment 872 Can't start Eclipse - Java was started but
returned exit code=13
in build.gradle in app folder fixed my issue! 175 Plugin is too old, please update to a more
recent version, or set
share improve this answer answered Jun 14 '16 at 10:21 ANDROID_DAILY_OVERRIDE
environment variable to
Sudheesh Mohan
1,107 2 14 32 241 Android Gradle Apache HttpClient does not
exist?
add a comment
242 “Gradle Version 2.10 is required.” Error
Above solutions did not work for me. I used below to get MPAndroidChart lib working on my project.
Hot Network Questions
1. Downloaded the latest MPAndroidChart jar from:
9 https://jitpack.io/com/github/PhilJay/MPAndroidChart/v3.0.1/MPAndroidChart-v3.0.1.jar
How to fix environment variables not working while
running from system-d service in Go
2. Copied the downloaded MPAndroidChart-v3.0.1.jar file to YourProject/app/lib directory Is it unethical to anonymously give a flagged
solution to an unidentified student who has shown
3. Compiled the following dependency at app level build.gradle intent to cheat?
dependencies { Why can the regenerative brakes of the Oslo
Metro only share energy with other trains if they
compile files('libs/MPAndroidChart-v3.0.1.jar') are "nearby"?
add a comment
add a comment
You could encounter this issue if your gradle offline mode is enabled.
turn it off in android studio, Settings > Gradle and uncheck "Offline work" and sync.
1
share improve this answer answered Sep 11 '18 at 4:58
Abhi
346 7
add a comment
One Problem can also be, that you are behind a proxy. So there are two possibilities: Add your proxy
config to android Studio, ore you can also add a gradle.properties file in your project root. there you
0 have to enter the following credentials:
systemProp.http.proxyPassword=
systemProp.http.proxyHost=
systemProp.http.proxyUser=
systemProp.http.proxyPort=
systemProp.https.proxyPassword=
systemProp.https.proxyHost=
systemProp.https.proxyUser=
systemProp.https.proxyPort=
So the https Properties are pretty necessary. I figured out that often the repositories are available over
both protocols. but sometimes only over http or https.
add a comment
add a comment
cd ~/AndroidStudioProject/myproject/myapp
0 ./gradlew tasks
share improve this answer edited Jun 25 '16 at 13:40 answered Jun 20 '16 at 21:20
Roberto
2,159 21 20
add a comment
This worked for me. If your under proxy add this lines in gradle properties(project properties)
add a comment
add a comment
allprojects {
0 repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
add a comment
Your Answer
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie
policy, and that your continued use of the website is subject to these policies.
Not the answer you're looking for? Browse other questions tagged android android-studio
STACK OVERFLOW PRODUCTS COMPANY STACK EXCHANGE Blog Facebook Twitter LinkedIn
NETWORK
Questions Teams About
Technology
Jobs Talent Press
Life / Arts
Developer Jobs Directory Engagement Work Here
Culture / Recreation
Salary Calculator Enterprise Legal
Science
Help Privacy Policy
Other
Mobile Contact Us site design / logo © 2019 Stack Exchange Inc; user contributions
licensed under cc by-sa 3.0 with attribution required.
Disable Responsiveness rev 2019.1.31.32765