在本机反应中未正确安装 DeviceInfo 本机模块 [英] DeviceInfo native module is not installed correctly in react native

查看:34
本文介绍了在本机反应中未正确安装 DeviceInfo 本机模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在设备上运行我的 react-native android 应用程序.它运行良好,突然我在运行应用程序时出错.

<块引用>

DeviceInfo 本机模块未正确安装

我已经检查了这个

D:\React Native\ReduxExample1>react-native -v反应原生cli:2.0.1反应原生:0.44.0D:\React Native\ReduxExample1>

解决方案

我正在运行不同的应用程序,该应用程序也内置在 react-native 中,但没有运行 react-native> 该应用程序的服务器.这只是我的坏处:)

Hi I am trying to run my react-native android application on the device. It was working well, suddenly I am getting an error on running application.

DeviceInfo native module is not installed correctly

I have checked this DeviceInfo native module is not installed correctly but it did not work for me. I restarted my system to kill all process.

Can anyone help me how to solve this issue ?

D:\React Native\ReduxExample1>react-native -v
react-native-cli: 2.0.1
react-native: 0.44.0

D:\React Native\ReduxExample1>

解决方案

I was running different application which is also built in react-native but did not run react-native server of that application. This was just my bad :)

这篇关于在本机反应中未正确安装 DeviceInfo 本机模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆