1

I am trying to add Crashlytics to my new Android app. I have followed all of the instructions from this question:

How to add new application to Fabric

I created a new Organization on my Fabric profile since it is a team collaboration, and copied the API key from that into my Manifest, but the app doesnt get created. What am I doing wrong?

The app syncs fine, and I dont get any error messages when building.

Sajeka
  • 11
  • 3

2 Answers2

0

Have you actually launched the app? That must be done for Fabric to pick it up.

If you've already tried this, I suggest enabling debugging and seeing if any errors are logged:

final Fabric fabric = new Fabric.Builder(this)
        .kits(new Crashlytics())
        .debuggable(true)
        .build();
Fabric.with(fabric);
Jake Lee
  • 7,549
  • 8
  • 45
  • 86
  • Yes I have launched it multiple times, even crashed it a few times as well, still nothing. Where should I put the code? – Sajeka Dec 06 '18 at 13:00
0

Nevermind, I'm an idiot. I put the code

Fabric.with(this, Crashlytics()) 

in my MainActivity since the instructions stated it, but that activity is never called. It's not even added to my manifest.

So obviously the line was never run, and the app was never added.

Sajeka
  • 11
  • 3