Failed to resolve: com.github.PhilJay:MPAndroidChart:v2.1.4 Add maven { url "https://jitpack.io" } to repositories under allprojects not under buildscript see screenshot:
项目地址:https://github.com/PhilJay/MPAndroidChart Remember: It's all about the looks. MPAndroidChart is a powerful & easy to use chart library for Android. It runs on API level 8 and upwards.