ChartProgressBar-Android icon indicating copy to clipboard operation
ChartProgressBar-Android copied to clipboard

Resources$NotFoundException: Resource ID #0x0

Open DanishAjaib opened this issue 5 years ago • 5 comments

Getting this error: Process: com.spesa.app, PID: 12699 android.content.res.Resources$NotFoundException: Resource ID #0x0 at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:259) at android.content.res.Resources.getDrawableForDensity(Resources.java:920) at android.content.res.Resources.getDrawable(Resources.java:860) at android.content.res.Resources.getDrawable(Resources.java:835) at com.hadiidbouk.charts.ChartProgressBar.build(ChartProgressBar.java:131)

at line:

mChart.build()

I have added ic_pin.xml in the drawables folder

DanishAjaib avatar Jan 26 '20 08:01 DanishAjaib

i have the same problem , even after i added ic_pin.xml

Manoucha avatar May 06 '20 23:05 Manoucha

This library is not maintained anymore. I don't think we'll get any help.

DanishAjaib avatar May 06 '20 23:05 DanishAjaib

oh ! do you know any other library similar to this one?

Manoucha avatar May 06 '20 23:05 Manoucha

https://github.com/PhilJay/MPAndroidChart .. This one is pretty good.

DanishAjaib avatar May 07 '20 00:05 DanishAjaib

I solved it by adding:

                app:hdPinDrawable="@drawable/ic_pin"

Code for drawable/ic_pin.xml https://github.com/hadiidbouk/ChartProgressBar-Android/blob/master/sample/src/main/res/drawable/ic_pin.xml

image image

omkar-tenkale avatar Jan 10 '22 20:01 omkar-tenkale