Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fabric.io: new app does not show up in the dashboard

For some reason we needed to change the package-id of our existing android application. We already use Fabric for Crashlytics.

I'm trying to bring that new app up in the Fabric dashboard, but it's not showing there, despite the device log showing no issues (as fas as I can see): device log

Any ideas why the new package-id isn't visible in our dashboard?

Best, Sven

like image 251
svzi Avatar asked May 18 '17 12:05

svzi


2 Answers

I experienced a very similar issue to this when building an app with multiple flavours. The solution is to manually specify the package name, and not let Fabric try to automatically grab it, as it tries very hard to "stick" your old package name.

There is a full post available (disclaimer: my site), but essentially you need to use:

    Fabric.with(
        Fabric.Builder(this)
            .kits(Crashlytics())
            .appIdentifier(BuildConfig.APPLICATION_ID)
            .build()
    )
like image 196
Jake Lee Avatar answered Nov 07 '22 14:11

Jake Lee


Make sure to include all dependencies on their dedicated gradle.build and meta in manifest file. Next is to throw a force runtime error on your device with internet connection also do not forget to initialize it first with Fabric.with(this,new Crashlytics()). If this doesn't work try to download and install Fabric for Android plugin in Android Studio, restart the IDE and you will see a fabric icon above. Start it and select your package name.

like image 40
Mihae Kheel Avatar answered Nov 07 '22 14:11

Mihae Kheel