Pie Chart in Android With MPAndroid library

Viewed 100

I am having issue in MP Android Chart Library .

I have added this library in my Project .

implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'

But still i am not able use this in My XML file.

2 Answers

I think you are missing Something in Gradle Setup

Do you have added this in build.Gradle(Project level).

repositories {
maven { url 'https://jitpack.io' }
}

If not then please add this and lemme know it is working or not.

Check have you added this maven then Go to File>Sync with gradle files. Something when you add library it did not sync

repositories {
maven { url 'https://jitpack.io' }
}
Related