react-native-svg: Android: Error while updating property 'd' in shadow node

Hi! I updated react-native-svg from 4.0.0 to 4.6.1 and now get the following error when running on Android:

Error while updating property 'd' in shadow node of type: RNSVGPath

The SVG I want to render is this one: (originally it had more properties but I removed them to the minimal SVG document required to trigger the issue)

<Svg height={100} width={100}>
    <Path d="M 50.39973979582424,55.194348826112666 5.2001026093465175,62 2.947046320824673,27.892750153167036 2,9.59734992518333 46.661191716201934,2 47.528660937587134,13.099602868974927 49.61184768800117,42.72842194869662 50.39973979582424,55.194348826112666 z" />
</Svg>

Here is the output from adb logcat showing a stack trace of the error: https://gist.github.com/thedjinn/c94191b1cee47887d60a2e03597047b5

Everything worked fine on the previous version. What could be the problem here?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 8
  • Comments: 23

Most upvoted comments

I also have this issue with RN 0.44 and react-native-svg 5.1.8

I get this issue with RN 0.44 and react-native-svg 5.1.8. Any ideas?

Encountering this issue on Android only

And, the classic, try turning your computer off and on again 😉