相关疑难解决方法(0)

React Native-permissions:NativeModule.RNPermissions 为 null

尽管我更新了我的 Pod,但我在库中遇到了一些问题react-native-permissions

这是我的podfile

permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
Run Code Online (Sandbox Code Playgroud)

添加后,我尝试从 xcode 中清理构建文件夹并更新我的 pod pod install,但仍然遇到错误

ExceptionsManager.js:149 Error: react-native-permissions: NativeModule.RNPermissions is null.

ExceptionsManager.js:149 Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
      This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.
Run Code Online (Sandbox Code Playgroud)

奇怪的是,当我尝试在 Android 中运行我的应用程序时,它仍然发生。

我也尝试删除 …

react-native

2
推荐指数
1
解决办法
3440
查看次数

标签 统计

react-native ×1