Questions tagged [acra]

ACRA is a free library for automatically reporting crash or debug information from an Android application to some server over the network.

ACRA, which stands for Application Crash Report for Android, is a popular and free library that enables an Android application to automatically send a crash report or debug information, using Google doc is used as a typical "hello world" target. Google Doc is no longer recommended for production use, however the related open-source project Acralyzer provides a backend reports-analysis webapp built on a full open stack. A variety of other reporting connectors (e.g., HTTP POST, E-mail, etc.) are also available. ACRA also supports rolling-your-own reporting sender.

More information is available at the ACRA website.

277 questions
4
votes
2 answers

ACRA: How to execute code when crash is reported

Possible Duplicate: ACRA with android: How to execute code before crash is reported I am using ACRA for crash reporting. When a crash happens, ACRA reports. how can I execute a code before a crash gets reported? I want to add some custom…
Snake
  • 14,228
  • 27
  • 117
  • 250
4
votes
3 answers

Incorrect line number with ACRA

I user android/proguard/ACRA. Can anyone tell me please why the crash reports I am getting have incorrect line numbers (line number pointing at obviously a wrong statment)? It is really annoying that I am unable to know the exact line number of…
Snake
  • 14,228
  • 27
  • 117
  • 250
3
votes
1 answer

What is ACRA for standard Java?

There is a very good crash reporting thing for Android called ACRA (http://code.google.com/p/acra/). Are there any similar libraries for standard (as opposed to mobile) Java?
user1081596
  • 917
  • 1
  • 9
  • 16
3
votes
1 answer

Using both ACRA error reporting and Google's Dev Console?

I'm curious if I start using ACRA error reporting will error reports still show up in the Developer Console? If not, is there a way to allow for both? I'd like to be able to log into my dev console and see any new reports then go check the ACRA…
Scott
  • 493
  • 1
  • 5
  • 17
3
votes
1 answer

ACRA not sending logcat

EDIT With credit to F43nd1r, the solution is to put LOGCAT in your ReportsCrashes annotation, e.g. @ReportsCrashes ( mailTo = "log@perinote.com", mode = ReportingInteractionMode.TOAST, customReportContent = {ReportField.ANDROID_VERSION, …
Peri Hartman
  • 19,314
  • 18
  • 55
  • 101
3
votes
1 answer

How do I set custom Dialog Box when my App has crashed?

I'm using ACRA 4.9.0 in my app. I just want to show dialog box to the user when my app is crashed. This is my current code: public class App extends MultiDexApplication { @Override public void onCreate() { ConfigurationBuilder config = new…
3
votes
3 answers

ACRA change formUri programmatically

Since ACRA.init can only be called once and ACRA.getConfig() and ACRA.getConfig().setFormUri(uri) are both deprecated.Is there any correct way to change formUri programatically, once ACRA has been already initialized? In our development app we are…
3
votes
1 answer

How to send ACRA exception report without closing APP (even showing dialog)

I am trying to send ACRA exception report, without closing app, but it still closes the app and show the dialog. I am sending exception report like this. ACRA.getErrorReporter().handleException(finalException, false); Second argument is…
CROSP
  • 4,499
  • 4
  • 38
  • 89
3
votes
1 answer

Cannot resolve method 'formKey' in ACRA 4.7.0

i tried setting up acra for my android project today, but it didnt work. I followed the instructions, importet the acra lib in gradle (compile 'ch.acra:acra:4.7.0') Then i added this: @ReportsCrashes(formKey = "", mailTo = "mail@adress.com", mode =…
lleo
  • 155
  • 1
  • 9
3
votes
1 answer

ACRA not sending to eMail

I am trying to send crash reports to email but when my app crashes nothing happens. I tried messing around with configurations but i just kept getting errors (unknown member mostly, wth that is). Here's my code for the class. @ReportsCrashes( …
c0dezer019
  • 188
  • 2
  • 12
3
votes
3 answers

Acra not work in Release Version

for reporting my Application Crashes use Acra library via Android Studio Gradle Dependencies in this form : dependencies { compile 'ch.acra:acra:4.6.2' } Now in Bebug version it work and return crash report goodly but after export Release…
Saeid
  • 2,261
  • 4
  • 27
  • 59
3
votes
1 answer

No good example for latest ACRA (Application Crash Report for Android)

I searched a lot about ACRA. Since after the code transferred from code.google.com to Github. All the answer's in SO has bad link's. All the example code's are not so useful as google docs has been deprecated for using it. So please guide me how the…
Aawaz Gyawali
  • 3,244
  • 5
  • 28
  • 48
3
votes
1 answer

No StackTrace of catched exception (by ACRA) in LogCat of IDE (Eclipse)

I'm using ACRA lib for getting crashes of my app. It work fine (I receive crash-reports on my server with stackTrace and logCat info). But in my IDE (Eclipse) in logCat I see only this line, when I throw exception: E/ACRA(18776): ACRA caught a…
mohax
  • 4,435
  • 2
  • 38
  • 85
3
votes
2 answers

Full stack traces in Google Analytics v4 via Tag-Manager

I'm a little confused about crash tracking with Analytics. AFIK it is only possible to store in Analytics strings which are no longer then 200bytes (per property). So it is not possible to see full stack traces, since they are commonly much longer…
rekire
  • 47,260
  • 30
  • 167
  • 264
3
votes
1 answer

Acra doesn't send JSON request to my own server

I'm trying to implement ACRA into my Android Application. I'm trying to send crash report with JSON via POST. To do that I have configured ACRA and created the following class: import android.app.Application; import org.acra.ACRA; import…
Khoenix
  • 37
  • 5
1 2
3
18 19