Fork me on GitHub

Know your BUGS.

Building quality Android apps and getting good reviews depends on your ability to know, understand and fix bugs when your users experience them.

Acra catches exceptions, retrieves lots of context data and send them to the backend of your choice.

Best of all, it is FREE and OPEN SOURCE.

Quick setup

Adding ACRA to your project is a matter of minutes. Its impact on your code is minimal. Below are the few steps needed to make your app report its crashes. For more details see the full setup instructions.

Maven dependency

<dependency>
  <groupId>ch.acra</groupId>
  <artifactId>acra</artifactId>
  <version>4.5.0</version>
</dependency>
OR

Manual include

THEN

AndroidManifest.xml

<manifest ...>
  <application ... android:name="MyApplication">
    ...
  </application>
  <uses-permission android:name="android.permission.INTERNET">
  </uses-permission>
</manifest>

Java

import org.acra.*;
import org.acra.annotation.*;

@ReportsCrashes(formKey = "", formUri = "http://www.yourselectedbackend.com/reportpath")
public class MyApplication extends Application {
  @Override
  public void onCreate() {
    // The following line triggers the initialization of ACRA
    super.onCreate();
    ACRA.init(this);
  }
}			
The formKey parameter was used for the now deprecated GoogleDocs Forms backend. It is still required but not used anymore.

Since the recent update of Google Forms by Google, the usage of Google Docs as a storage engine for ACRA reports is now deprecated.

Thus we launched Open sourceAcralyzer, an open source backend reports analysis webapp built on a full open stack.

Installing Acralyzer is now really simple. The only server-side requirement is Apache CouchDB. You can host it on your own server or use the free hosting services of Cloudant or Iriscouch

For an overview of its features go have a look to the user manual.

Other backends include: Open sourceACRA Reporter, Closed sourceBugsense, Closed sourceZubhium, Closed sourceHockeyApp... Or you can code your own!

Top apps using ACRA