Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/svg/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
EXPO-react-native-svg错误:-;更新属性时出错';d';管理的视图的名称:RNSVGPath null。对于输入字符串:";";_React Native_Svg_React Native Svg_React Native Svg Charts - Fatal编程技术网

EXPO-react-native-svg错误:-;更新属性时出错';d';管理的视图的名称:RNSVGPath null。对于输入字符串:";";

EXPO-react-native-svg错误:-;更新属性时出错';d';管理的视图的名称:RNSVGPath null。对于输入字符串:";";,react-native,svg,react-native-svg,react-native-svg-charts,React Native,Svg,React Native Svg,React Native Svg Charts,react原生svg和android似乎存在问题。此错误仅在我的Android应用程序中抛出-iOS应用程序似乎没有问题?错误消息没有显示错误可能发生的位置。任何想法都会有帮助 代码: 我使用删除了项目中的版本 脱纱反应 然后我跑了 纱线添加反应天然-svg@9.13 ***这解决了我的问题我也有同样的问题,而且从react native降级-svg@12.1.0到9.13也帮我解决了 import { Circle } from 'react-native-svg'; <Cir

react原生svg和android似乎存在问题。此错误仅在我的Android应用程序中抛出-iOS应用程序似乎没有问题?错误消息没有显示错误可能发生的位置。任何想法都会有帮助

代码:


我使用删除了项目中的版本 脱纱反应 然后我跑了 纱线添加反应天然-svg@9.13


***这解决了我的问题

我也有同样的问题,而且从react native降级-svg@12.1.0到9.13也帮我解决了
import { Circle } from 'react-native-svg';

    <Circle
       cx="0"
       cy="0"
       r={size / 2 - 6}
       fill="rgba(255,255,255,0.7)" // Transparency
     />
<RNSVGPath
 ref={this.refMethod}
 {...extractProps(propsAndStyles(props), this)}
 d={props.d}
/>