Open tudorsirbu opened 5 years ago
Same problem here.
Encountered the same issue. It is indeed because of gradients. Code searches for the android:fillColor
attribute and can't find it. You can, however, fix this quick and dirty. split your svg into 2 separate ones - one with gradients and one with solid fills. then overlay them inside a FrameLayout, or anything else more suitable.
The library seems to crash whenever it tries inflate a vector which as a gradient in it. (see example file below)
The stacktrace is
Has anyone got any idea how I can fix this or get around it?
Thanks!