Looking for some help. I just upgraded my android app to fabric and now the app gives an error on this line:
Crashlytics.start(getApplicationContext());
Gradle: error: cannot find symbol method start(Context)
I tried commenting out that line, but then the crashes are not getting logged. How do I initialize Crashlytics in the new fabric framework? Am I missing something?
Thanks in advance for your help.
Since Crashlytics is now part of Fabric the initialization process has changed, but is still simple. Instead of using
Crashlytics.start()
you should now use, but in the Application creation:For a more richer example, see how Cannonball canonical sample app is doing:
This code is available at: https://github.com/twitterdev/cannonball-android/blob/master/app/src/main/java/io/fabric/samples/cannonball/App.java#L96-L98