Eclipse with ProGuard

This page is now deprecated. For the latest version, please click here.

Crashlytics automatically de-obfuscates stack traces in your crash reports. You’ll never manually retrace a stack trace or hunt around for a lost mapping file again!

For Crashlytics to provide the most informative stack traces, add the following line to your ProGuard configuration file:

-keepattributes SourceFile,LineNumberTable

When building for release with Eclipse, export your application to an APK using the “Export Crashlytics-enabled Android Application” exporter from the Eclipse export menu. Just go to File -> Export -> Android :)

This exports your application using the standard ADT Android Application exporter and then uploads the ProGuard-generated mappings file to our servers.

If you make release builds using the command line, please see the appropriate article for your build system:

Ant

Gradle

Maven

Feedback and Knowledge Base