[英]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.