killernerd
killernerd

Reputation: 377

crashlytics can't run/reference/import

I have been trying to install crashlytics for the passed 6 hours with no succes.

The first time it started downloading some libraries but something went wrong and I had to delete them all again. I'm talking about the ones that it places in the lib folder it creates (not sure of the exact name of that folder).

After that it simply refuses to redownload them and just sits there on the "build and launch the app" window so it can "verify" its configuration.

So here's the issue, because it doesn't download the stupid libraries i can't import them in any of my classes or use them.

Fabric.with(this, new Crashlytics());

gives errors ofcourse because it can't resolve "Fabric" or "Crashlytics". Why the people at crashlytics don't give you the simple option to download the jar file(s) yourself is beyond me...

In any case, here's what I've tried:

but nothing works... help?

Upvotes: 3

Views: 903

Answers (1)

Harsha Vardhan
Harsha Vardhan

Reputation: 3344

Follow the steps to integrate Crashlytics to application.

If it is first time then fabric will support you in doing the setup.

  1. https://fabric.io/onboard given option to select SDK.
  2. Select SDK and started integrating.
  3. Successfully able to add plugin.
  4. After SDK restarts, clicked on the Fabric toolbar button to start using Fabric!
  5. Logged in -> Selected project -> selected kit to install.
  6. Follow all the steps initiated by tools.
    • change of android-manifest file.
    • add code in the java class.
    • add shown code to kits.properties (Eg: com.crashlytics.sdk.android:crashlytics:2.2.2)
  7. Final step will show you the done. (If you haven't done the three steps properly in step 6 then you can't be proceed further).

Upvotes: 2

Related Questions