[英]React Native "RNCSafeAreaView" was not found in the UIManager
通过在终端中键入以下命令来更新此模块的版本:
npm install react-native-safe-area-context@1.0.2
它将解决这个问题
有同样的问题。 问题是react-native-safe-area-view 文档假定react-native-safe-area-context
库支持自动链接,但显然不支持。 正如官方react-native-safe-area-context 文档指出的那样,必须通过在 cli react-native link react-native-safe-area-context
上运行来手动react-native link react-native-safe-area-context
。
更多参考图书馆官方文档:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.