acra

Android crash report doesn't send data to google docs

Deadly 提交于 2019-12-24 17:50:23
问题 I'm trying to use the android crash report in my android project. I have added the jar and I have code like this in my src directory. import android.app.Application; import org.acra.*; import org.acra.annotation.*; @ReportsCrashes(formKey = "0xxxxxxxxxxxxxxxxxxxS2JONHc") public class CrashLog extends Application { @Override public void onCreate() { // The following line triggers the initialization of ACRA ACRA.init(this); super.onCreate(); } } My google spreadsheet url look like this: https:/

empty crash file when using ACRA

ε祈祈猫儿з 提交于 2019-12-24 11:26:57
问题 i am using the code below to generate a crash file, the file is created at parse.com but it is empty. any idea why? Another problem is that "ACRA.DEFAULT_REPORT_FIELDS;" has an error, default report fields is not available. public class LocalSender implements ReportSender { private final Map<ReportField, String> mMapping = new HashMap<ReportField, String>() ; private FileOutputStream crashReport = null; private Context ctx; public LocalSender(Context ct) { ctx = ct; } public void send

How to send ACRA reports to multiple destinations?

不羁的心 提交于 2019-12-24 04:16:08
问题 I've this special case where in I need to send the crash reports from my app to both BugSense and my own server. And AdvancedUsage - ACRA/acra Wiki says : "You can even send reports to multiple destinations." But where and how exactly do I specify these? The only solution I can think of is by implementing my own ReportSender and making it post the data to both the servers. And I'm guessing that there is a simpler way to do this. 回答1: Apart from the solution I already talked about in the

如何从Android应用程序获取崩溃数据?

早过忘川 提交于 2019-12-22 17:11:58
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 如何从我的Android应用程序获取崩溃数据(至少是堆栈跟踪)? 至少在使用有线电视检索我自己的设备时,最好是从我在野外运行的应用程序的任何实例,以便我可以改进它并使其更加坚固。 #1楼 使用它来捕获异常细节: String stackTrace = Log.getStackTraceString(exception); 将其存储在数据库中并维护日志。 #2楼 刚开始使用ACRA https://github.com/ACRA/acra 使用Google Forms作为后端,它很容易设置和使用,这是默认设置。 但是,向Google表单发送报告将被弃用(然后删除): https : //plus.google.com/118444843928759726538/posts/GTTgsrEQdN6 https://github.com/ACRA/acra/wiki/Notice-on-Google -形成电子表格使用率 无论如何,你可以定义你自己的发件人 https://github.com/ACRA/acra/wiki/AdvancedUsage#wiki-Implementing_your_own_sender 你可以试试电子邮件发件人。 只需最少的努力就可以向bugsense发送报告: http : /

Cannot resolve method 'formKey' in ACRA 4.7.0

℡╲_俬逩灬. 提交于 2019-12-22 09:49:58
问题 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 = ReportingInteractionMode.NOTIFICATION) protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ACRA.init(this.getApplication()); I get the error Cannot resolve method 'formKey' , but when deleting formkey from

Unfortunately, MyApp has stopped - no error logs in logcat

蹲街弑〆低调 提交于 2019-12-22 04:35:06
问题 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 there but not this one which causes this app has stopped ). Is there any chance I can solve this problem? The good thing is I can quite easily reproduce it, thus I'm trying to put as many information I can to logcat and then investigate what happened. I

Android Application class method onCreate being called multiple times

独自空忆成欢 提交于 2019-12-17 15:51:38
问题 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() { ACRA.init( this ); /* * Initialize my singletons etc * ... * ... */ super.onCreate(); } } And as far as i know, the Application object should be created only once, so the onCreate method should be called only once. The problem is, that in my crash reports ( from ACRA ) i

What is causing my web app to stall on some Android devices? How do I detect?

半城伤御伤魂 提交于 2019-12-13 18:26:09
问题 I am building a cross-platform mobile app in HTML, CSS & Javascript and publishing it to Android and iOS using PhoneGap as a wrapper. I have published in the Android Market, and am finding out through customer reviews that the app stalls early during the user setup phase, with some users/devices. I do not have any kind of error handling and reporting set up in the app, and the Android Market's crash report is still giving me 0 crashes after hundreds of downloads and half a dozen disappointed

Android Library Projects could not be used with ACRA due to their resources identifiers not being final fields anymore

旧时模样 提交于 2019-12-11 22:39:44
问题 From the ADT Site: The constants are not final in a library project. The reason for this is simple: When multiple library projects are combined, the actual values of the fields (which must be unique) could collide. Before ADT 14, all fields were final, so as a result, all libraries had to have all their resources and associated Java code recompiled along with the main project whenever they were used. This was bad for performance, since it made builds very slow. It also prevented distributing

acra logcat missing lines

*爱你&永不变心* 提交于 2019-12-11 20:17:21
问题 I did what the ACrA for android website saidin terms of sendig logcat information to mygoogle spredsheet. I was able to receive the log intended however I only get the last 10 lines instead of 150 that i specified. Is acra.supposed to send me 150 lines or is it supposed to look at 150 lines and filters out whatever I asked to be filtered and then send me the filtered version? I expect the first one so.any help is appreciated Thank you 回答1: As I explained in the comments: ACRA forwards the