charts
charts copied to clipboard
java.lang.NoSuchFieldError: No field Fill of type Landroidx/compose/ui/graphics/PaintingStyle
App compiles, but crashes when tries to show the LineChart. I updated Compose version to 1.0.4, and still get it.
java.lang.NoSuchFieldError: No field Stroke of type Landroidx/compose/ui/graphics/PaintingStyle; in class Landroidx/compose/ui/graphics/PaintingStyle; or its superclasses (declaration of 'androidx.compose.ui.graphics.PaintingStyle' appears in /data/app/~~1IClg3K24qqTN_iqrjdXRg==/es.jnsoft.whatweath-pLHYJOTf4GaonKm_ukZsTg==/base.apk)
at com.github.tehras.charts.line.renderer.line.SolidLineDrawer.
Edited:
I meant, my project was using Compose 1.0.1, and had the same issue.
Did you find any solution? I have the same issue.
I didn't. Just implemented it on my own. Not as difficult as I thought in Compose.
Could you help me on this? I don't even know how to start :'(
What I did was to adapt what I found in this article:
https://proandroiddev.com/building-your-first-custom-chart-in-android-with-jetpack-compose-a890fb60878b
I didn't need something too fancy anyway.
Yes, I checked that article too. I will try something like that. Thank you so much!!
Go for it. Might seem complicated. But as I said, with Compose is not that difficult.