Featured Plugins: Crash Reporting Tool for Android

The most advanced IDE for Java developers, IntelliJ IDEA, is also an open platform that is ideally suited for building of custom developer tools. From time to time we’ll be selecting one of many plugins created by the community to feature on our blog. Today we’re going to speak about Twitter’s tool for mobile crash reporting, and its implementation as IntelliJ IDEA plugin.

Crashlytics is a lightweight crash reporting tool for iOS and Android applications, that captures crashes and delivers nice and clean reports via email or cloud storage.

The plugin comes in a ZIP archive and can be added to your copy of IntelliJ IDEA via the usual File -> Settings -> Plugins -> Install plugin from disk dialog. After the plugin is installed, you should see a red Crashlytics icon on the toolbar.

To start using Crashlytics, just add an Android project to the Crashlytics dashboard:

Crashlytics will then automatically make some minor alterations to the code that enable it to function, including the modification of manifest file to request permissions to access the Internet and add metadata to track your account on the Crashlytics server, and the changes to onCreate method that actually start Crashlytics.

public void onCreate(Bundle savedInstanceState) {

   // Other code here

As you can see, call to the Crashlytics.start method is placed exactly after the the call to the base onCreate method, which is essential for Crashlytics to function properly. Any other code you may need to run in onCreate should be placed after it. Needless to say, plugin also takes care of any import statements that are required.

When an unhandled exception occurs, all you typically get to look at is a stack trace, which is sometimes very lengthy and is difficult to read, and doesn’t always provide all the complete coverage of what was really going wrong with your application, which makes analysis harder that it should be. And this is the moment where Crashlytics comes to the rescue.

Crashlytics performs deep analysis of every thread, then intelligently organizes thousands of crashes from a variety of devices, distills them down to unique issues, and prioritizes the most critical crashes for you to fix. When done, it delivers a nice report that summarizes the key points right in your inbox, which gives you a lot clearer picture and enables you to more effectively deal with crashes and bugs.

That concludes today’s featured plugin article. Feel free to share your ideas about what plugins you would like to have featured, and we will write about them in the upcoming articles!

Comments below can no longer be edited.

6 Responses to Featured Plugins: Crash Reporting Tool for Android

  1. Avatar

    Sven says:

    March 28, 2014

    Sounds nice, but which is the current status of Crashlytics? I can not find any download links for the IntelliJ plugin and the Crashlytics website seems not to be ready (no working registration, just the option to get invited “soon”).

    • Avatar

      Dino Esposito says:

      March 28, 2014

      You should receive via email the link to get the plugin.

      • Avatar

        Sven says:

        March 29, 2014

        Hi, ok, I got the invatation and can now install the plugin, but it crashs on clicking on the Crashlytics icon within IntelliJ: “15:30:27 NoClassDefFoundError: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(870,65),absolute(862,57),button=1,modifiers=Button1,clickCount=1] on frame0: javax/swing/SwingUtilities”.

        I hope they track their own crashes, too. 😉 I’m using IntelliJ IDEA 12 Ultimate, maybe it is only working with IntelliJ IDEA 13, but “since-build=’111.69′” is configured within the plugin.xml, so it should work.

        • Avatar

          Matthew says:

          April 13, 2014

          Exactly the same here. I am setting up crashlytics and this same bug is blocking me. Can’t start the plugin. Extremely frustrating. NoClassDefFoundException for SwingUtilities. Ugh.

  2. Avatar

    macdevign says:

    March 29, 2014

    That’s a great idea to do a review on plugin as the success of Intellij lies not only on its built-in prowess but also its ecosystem of plugins, of which Intellij and lines of Intellij-platform IDE themselves are built on.

    There probably reviews/docs on those plugins but it is good to see it appears on the site blog because it will bring more exposure.

    A plugin that I like to see review is Genymotion (the very fast Android emulator). It is really make Android development better.

  3. Avatar

    dbnex says:

    October 27, 2015

    Is it free?

Discover more