Closed hwjm closed 1 year ago
version: "react-native": "0.70.6", "@ant-design/react-native": "5.0.3",
当我运行"yarn android"时, 得到下面警告, 并且项目中不显示图标;
warn Package @ant-design/react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.
link问题,直接手动添加字体文件即可
怎么添加字体文件
不知道怎么改文件,我是手动添加的
android
iOS项目 复制字体文件到Resource文件下
info.plist中配置
version: "react-native": "0.70.6", "@ant-design/react-native": "5.0.3",
当我运行"yarn android"时, 得到下面警告, 并且项目中不显示图标;
warn Package @ant-design/react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this.