在android上未本地找到RNFirebase核心模块 [英] RNFirebase core module was not found natively on android

查看:95
本文介绍了在android上未本地找到RNFirebase核心模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在android平台上运行现有的react native应用程序,并且出现如下图所示的错误.我已经按照 http://invertase.link/android 下提到的所有步骤进行操作,但是我仍然面临着这个问题错误.

I am trying to run an existing react native app on android platform and I am getting the error as in the below image. I have already followed all the steps mentioned under http://invertase.link/android, but I still am facing this error.

我是React Native的一个完整的初学者,已经用尽了Web上所有可用的解决方案,而这篇文章是我的最后选择.

I am a complete beginner in react native, have already exhausted all the solutions available on the web and this post is my last resort.

推荐答案

您必须在MainApplication.java中添加import io.invertase.firebase.RNFirebasePackage;new RNFirebasePackage()

You have to add import io.invertase.firebase.RNFirebasePackage; and new RNFirebasePackage() in the MainApplication.java

这篇关于在android上未本地找到RNFirebase核心模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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