PhilJay / MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.53k stars 9.01k forks source link

class referenced in the layout file, com.github.mikephil.charting.charts.LineChart, was not found in the project #5238

Open agungmrf opened 2 years ago

agungmrf commented 2 years ago

Hello everyone, why doesn't mpaandroidchart on my android studio work? When typing in xml a red message appears like this class is referenced in layout file, com.github.mikephil.charts.charts.LineChart, not found in project, not found in project or library

image

MasterMind1998 commented 2 years ago

visit this link on stackOverFlow : https://stackoverflow.com/questions/71267938/i-add-mpandroidchart-in-my-project-but-in-my-xml-i-cant-find-linechart/71277422#71277422

rashmipadhy commented 1 year ago

In the "settings.gradle", add the following line into repositories

maven { url "https://jitpack.io" }