Error while updating property 'fill' of a view managed by: RNSVGPath
See original GitHub issueI’m having this issue, saw that the exact same issue was solved time ago, but the solution is not working for me.
Bug
After installing react-native-svg using “expo install react-native-svg”, I try to add the following Svg:
<Svg width={18} height={20} viewBox="0 0 18 20" >
<G
transform="translate(1 1)"
stroke="#000"
strokeWidth={2}
fill="none"
fillRule="evenodd"
strokeLinecap="round"
strokeLinejoin="round"
>
<Path d="M16 18v-2a4 4 0 00-4-4H4a4 4 0 00-4 4v2" />
<Circle cx={8} cy={4} r={4} />
</G>
</Svg>
and this error shows up:
Error while updating property 'fill' of a view managed by: RNSVGPath
null
java.lang.Double cannot be cast to java.lang.String
Tried uninstalling and installing several versions. Same thing with all of them. Current one: 9.13.3
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:20 (1 by maintainers)
Top Results From Across the Web
Error while updating property 'fill' of a view managed ... - GitHub
Error while updating property 'fill' of a view managed by: RNSVGPath null java.lang.Double cannot be cast to java.lang.String.
Read more >Error while updating property 'fill' of a view managed by
I install the required package react-native-svg but the problem persist. I'm using the latest version of all packages. This is the full code:...
Read more >Error while updating property 'fill' of a view managed by
I'm having this issue, saw that the exact same issue was solved time ago, but the solution is not working for me.
Read more >[Solved]-react-native-chart-kit error while updating property "d ...
Coding example for the question react-native-chart-kit error while updating property "d" of a view managed by RNSVGPath:-React Native.
Read more >react-native-svg - npm
Troubleshooting. Problems with Proguard. When Proguard is enabled (which it is by default for Android release builds), it causes runtime error.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey guys! I was having the same issue here. Try installing react-native-svg packages again, it worked for me 1 - stop expo app
expo install react-native-svg
2 - rerun the appexperiencing the same issue. while installing (https://github.com/skrafft/react-native-jitsi-meet#android-install)[https://github.com/skrafft/react-native-jitsi-meet#android-install]
to solve this had to exclude this
react-native-svg
from thejitsi
implementation. in theapp/build.gradle
file.if this gives some clue to the problem.