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
23
votes
2 answers

Native code - how to get function call stack (backtrace) programmatically

I have C++ codebase running on Android, and want to have crash reports sent by users. I'm using ACRA library which works fine for Java code, but when something crashes in native code, I don't get enough information. Actually I'd like to receive…
Pointer Null
  • 39,597
  • 13
  • 90
  • 111
15
votes
4 answers

Android Application class method onCreate being called multiple times

i've overloaded the Application class in my android app and i'm using the ACRA report system. My app looks like ( real source code here ) : public class MyApplication extends Application { @Override public void onCreate() { …
Simone Margaritelli
  • 4,584
  • 10
  • 45
  • 70
12
votes
3 answers

Group Java/Android stack traces into unique buckets

When logging stack traces for unhandled exceptions in Java or Android (e.g. via ACRA), you usually get the stack trace as a plain long string. Now all services that offer crash reporting and analysis (e.g. Google Play Developer Console, Crashlytics)…
caw
  • 30,999
  • 61
  • 181
  • 291
11
votes
4 answers

Unfortunately, MyApp has stopped - no error logs in logcat

Every once in a while I get: Unfortunately, MyApp has stopped. Problem is easy to solve if you have some logs, but in my case logcat has absolutely no message of error (it has normal messages published by my app and other exceptions are shown…
Marian Paździoch
  • 8,813
  • 10
  • 58
  • 103
10
votes
1 answer

ACRA vs Android developer console crash error report

I am looking for a way to debug crashes happens on user devices. currently I see crashes in the play market. what I see there is a stack trace but no other details (for example: log before the crash). Is there any way to get more info? And more…
oshai
  • 14,865
  • 26
  • 84
  • 140
9
votes
1 answer

org.json.JSONObject vs. javax.json.JsonObject?

What are the significant diffs between: org.json.JSONObject and javax.json.JsonObject? Most importantly are they interchangeable from client to Webservice? ie. can I send JSONObject to Webservice and have the Webservice believe the type is…
JDOaktown
  • 4,262
  • 7
  • 37
  • 52
9
votes
1 answer

Using ProGuard causes NoSuchFieldError for ACRA

I use ACRA 4.4.0 in my Android apps to receive crash reports from users. My IDE is ADT Build: v22.2.1-833290. Few days ago I've started using ProGuard for apps I'm going to publish on Google Play. When I install and start exported signed apk, a…
Darkmike
  • 163
  • 2
  • 9
9
votes
5 answers

Any replacement for Bugsense for ACRA

I am using Bugsense as backend for ACRA in Android. Bugsense is good and report presentation is very nice. The problem I am facing is it only allow 500 free reports per month. I am looking for a replacement which I can host on my server and have…
Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166
9
votes
1 answer

ACRA exception Can only use lower 16 bits for requestCode

My app uses ACRA for error reporting, and I've got a couple of reports from my device with the error: Can only use lower 16 bits for requestCode.. Google shows this error occurring when using startActivityForResult, but I've searched my code a few…
user1980076
  • 233
  • 3
  • 10
9
votes
2 answers

Android app won't start noClassDefFoundError

I'm creating a gps app for the android! And now I've stumbled upon a problem. The app doesn't start at all... Any ideas of how to fix this? 04-05 12:54:50.877: D/dalvikvm(540): Not late-enabling CheckJNI (already on) 04-05 12:54:51.018:…
Henry Dang
  • 181
  • 3
  • 10
8
votes
2 answers

Android application crashes, but doesn't restart - resumes from another point in the application

The application in question has already been deployed. I have found out about ACRA, and will be adding that in to find out why the application crashes are happening. My problem however, is that the application will crash (the dialog will show up…
digerati32
  • 623
  • 2
  • 6
  • 17
8
votes
3 answers

Can ACRA be used in a library project?

ACRA itself is crashing with a odd problem: IllegalStateException: Cannot access ErrorReporter before ACRA#init I have an app with ACRA 4.3.0 that works perfectly. I changed the entire app to a library, so I can make minor variants. I created a new…
Frank
  • 605
  • 1
  • 8
  • 14
7
votes
3 answers

How to send Android Crash report using ACRA

Am trying to send crash report from my applicatio to my domain or Mail but failed still. To get the crash report in mail, I did @ReportsCrashes( formKey = "", mailTo = "abc@gmail.com" ) And the response is, Sending file…
Joseph
  • 1,060
  • 3
  • 22
  • 53
7
votes
2 answers

Logcat empty using ACRA on device

So I'm using ACRA 4.4.0 with all defaults, and my logcat field is empty. My app has the permissions, which should at least give me my own app logs since Jelly Bean. Final note:…
Magnus Johansson
  • 28,010
  • 19
  • 106
  • 164
7
votes
1 answer

android: how to create ACRA crash Report Txt File?

I want to Create Text File of Crash Logs Information by ACRA Crash Report Instead Of EMail/GoogleDoc etc. so how can i achieve this goal?
Hardik Gajjar
  • 5,038
  • 8
  • 33
  • 51
1
2 3
18 19