Skip to content Skip to sidebar Skip to footer

Firebaseinitprovider Crash When Trying To Run App

I implemented the new FCM on the app following the steps on the FCM web. Now, I'm trying to run the app, but when I try it, the app crash with this error: 05-30 12:28:45.788 3002-3

Solution 1:

I had the same problem. After adding the aplicationId i noticed that there were 2 apps installed on my device. I think it somehow changed the package name of the app leading the device to understand that were two different apps.

So i uninstalled the two versions and then it worked.

ps: The command line is not launching the app normally. It says: "Launching application...LAUNCH SUCCESS" but the app is never launched, i have to open it manually

EDIT: Just found out that i was type a wrong application id, now it works properly

Solution 2:

Add the line compile 'com.android.support:multidex:1.0.1' to your dependencies (or simply remove multiDexEnabled true if not required)

Add this attribute to the application tag in manifest:

android:name="android.support.multidex.MultiDexApplication"

If you already have a custom application class defined in Android Manifest, extend it from MultiDexApplication instead of Application

This works for me!

Post a Comment for "Firebaseinitprovider Crash When Trying To Run App"