gpt4 book ai didi

react-native - @React-native-community/react-native-device-info : NativeModule. RNDeviceInfo 为空。要解决此问题,请执行以下步骤: *Run 'react-native link

转载 作者:行者123 更新时间:2023-12-04 04:06:38 25 4
gpt4 key购买 nike

我刚刚使用“react-native init NameProject”创建了应用程序并有一个我经常使用的基本目录,所以当我插入它时,我安装了依赖项和链接,它发生在我身上......我已经删除了“node_modules”目录,重新安装,重新链接,似乎没有解决问题...

截屏:

enter image description here

最佳答案

不再适用于世博会,请参阅 this post .
您应该能够用 expo-constants 替换最常见的属性。和 expo-device反而。
来源:https://forums.expo.dev/t/nativemodule-rndeviceinfo-is-null/35351

关于react-native - @React-native-community/react-native-device-info : NativeModule. RNDeviceInfo 为空。要解决此问题,请执行以下步骤: *Run 'react-native link,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57319268/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com