Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RNFirebase core module was not found natively on 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.

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.

enter image description here

like image 349
Dwarakesh Pallagolla Avatar asked May 06 '18 10:05

Dwarakesh Pallagolla


2 Answers

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

like image 100
Anis D Avatar answered Nov 15 '22 20:11

Anis D


In my case I deleted my app from emulator and reinstall that by giving the command (react-native run-android) and that process worked for me.

like image 31
Ch Jahanzaib Avatar answered Nov 15 '22 20:11

Ch Jahanzaib