Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fabric Crashlytics stuck on build and run

Currently, I'm trying to integrate Crashlytics into an Android Application. However I can't get the app to be recognized and added to the Fabric Dashboard.

When using the Android Studio Fabric plugin following these steps:

  1. New App
  2. Select Crashlytics
  3. Apply Code changes
  4. Sync gradle
  5. Rebuild project
  6. Build app onto device (not virtual)

However when I do this, the Fabric plugin is still stuck on the "Please build and run your application" screen, and eventually gives an error message "It's been a while. Need some help?"

I've also attempted to install Crashlytics manually, by adding the code myself using this link: https://fabric.io/kits/android/crashlytics/install

But when I build the application, still nothing happens within my Fabric Dashboard.

I've attempted checking out the branch again and re-adding this code to no avail. I've also tried reinstalling the Fabric IDE plugin, restarting Android Studio and Restarting my machine.

I have successfully added Crashlytics to other applications following these same steps.

Any ideas?

like image 343
Alkarin Avatar asked Jun 20 '17 18:06

Alkarin


2 Answers

I just had the same problem - nothing happened in the Fabric-plugin screen saying "Please build and run your application" during app-launches.

It started working after I disabled Instant Run (Preferences > Build Execution Deployment > Instant Run) then rebuilt and run the app.

like image 52
Guppel Avatar answered Oct 13 '22 21:10

Guppel


Probably you forgot to add apply plugin: 'io.fabric' in start of your app level gradle.build file

like image 31
Afshin Avatar answered Oct 13 '22 20:10

Afshin