acra

Acra reporting using email

元气小坏坏 提交于 2020-01-24 06:02:50
问题 I am trying to use ACRA to report unhandled exceptions in my app. Gave permission: <uses-permission android:name="android.permission.READ_LOGS"/> <uses-permission android:name="android.permission.INTERNET" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme" android:name=".MyApplication"> gradle: compile 'ch.acra:acra:4.9.0' Extended Application Class package online.hannuveda

Acra reporting using email

夙愿已清 提交于 2020-01-24 06:02:09
问题 I am trying to use ACRA to report unhandled exceptions in my app. Gave permission: <uses-permission android:name="android.permission.READ_LOGS"/> <uses-permission android:name="android.permission.INTERNET" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme" android:name=".MyApplication"> gradle: compile 'ch.acra:acra:4.9.0' Extended Application Class package online.hannuveda

ACRA: sometimes dialog report and other times silent report

自古美人都是妖i 提交于 2020-01-07 02:45:34
问题 What I want to do: Get feedback on my Android app from within the app itself. What I've done: I've just integrated the latest version of ACRA (4.4) to my Android App. It has silent reports on crashes as the default behaviour What I want help with: All I want to do is use the dialog report when I press a Feedback button on my app. 回答1: I don't know exactly what you want to achieve with your feedback button, but perhaps something like this? For the configuration of the dialog look at https:/

Incorrect line number with ACRA

我与影子孤独终老i 提交于 2020-01-03 17:51:46
问题 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 the crash so I can't fix my user's reported error Thank you PS: I am using the mapping file corresponding to version I am releasing 回答1: With some optimizations (notably class merging and method inlining), ProGuard may be unable to preserve all debug

How to override settings of ACRA in Android

女生的网名这么多〃 提交于 2020-01-02 05:42:08
问题 on my Application-Class I defined a ACRA with these annotations @ReportsCrashes(formKey = "", mailTo = "my@email.de", mode = ReportingInteractionMode.DIALOG, //resToastText = R.string.crash_toast_text, // optional, displayed as soon as the crash occurs, before collecting data which can take a few seconds resDialogText = R.string.crash_dialog_text, resDialogIcon = android.R.drawable.ic_dialog_info, //optional. default is a warning sign resDialogTitle = R.string.crash_dialog_title, // optional.

Runtime exceptions are caught with ACRA and not displayed on Logcat [closed]

若如初见. 提交于 2020-01-02 03:16:08
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . I have successfully implemented ACRA(Application Crash Report for Android) on my project and error reports are sent to Google docs correctly. But... when

Using ProGuard causes NoSuchFieldError for ACRA

邮差的信 提交于 2020-01-02 01:38:46
问题 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 NoSuchFieldError occures for fields used in ACRA reports. My code is: @ReportsCrashes(formKey = <my_key>, mailTo = <my_email>, customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME, ReportField.ANDROID_VERSION, ReportField

How to send Android Crash report using ACRA

匆匆过客 提交于 2019-12-31 10:06:10
问题 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 1372758321000-approved.stacktrace checkAndSendReports - finish To get the crash report in my domain, I did @ReportsCrashes( formKey = "", formUri = "http://www.abc.com/test1" ) And the response is, Sending file 1372856882000-approved.stacktrace Failed to send crash report for

ACRA with android: How to execute code before crash is reported

倖福魔咒の 提交于 2019-12-31 01:55:23
问题 I am using ACRA woth my android app. My question is, when a crash happens, how can I make sure I execute some code before the crash is reported. I mean I would like to add some custom variables when the crash happens so I know what state the app was in? Please help Thank you 回答1: Implement your own sender as described here. It can be simply a wrapper around some existing sender, forwarding the sending functionality there. Inside the sender code, you can take any special actions before

Import org.acra.* into android project gives error.

丶灬走出姿态 提交于 2019-12-24 18:00:20
问题 I want to add ACRA into android project. I do the steps according to the link: http://code.google.com/p/acra/wiki/BasicSetup I added jar file to the lib folder in the project and I added it to build. But when I try to add some ACRA's rows in the java code like import org.acra.* or ACRA.init(this); I receive the errors in Eclipse. So, how can I remove this errors? Thanks. 回答1: Re-add the jar file again and a Project->Clean should take care of it. 来源: https://stackoverflow.com/questions/8702396