My app is available on the Play Store and one of my users reported that it crashes on his phone but he is not able to send me the logs since there is no report dialog.
What could be the source of this issue and how to fix it ?
I would suggest you send another build with crashlytics and criticism in place and try to replicate the crash. Also go to your dashboard of play store and check for crash logs.
Related
I purposely make my own application crash. I get the following dialog.
However, I wish to get the following crash dialog with report button.
May I know how I can do so? I had signed my application. (But I transfer the APK locally to my phone, not through Android market). I still can't get the Report button.
As far as I know, the Report button only shows when the app is installed via the Market (i.e. is signed and not in debug mode nor with a debug key). This data is all shown in LogCat if you are USB debugging.
Edit: Also, you can catch this information and file a report yourself if you want, using this method.
Use the acra library in your app. This basically "is a library enabling Android Application to automatically post their crash reports to a GoogleDoc form". You can modify its use to pop up a dialog like the above, and ask the user to report the issue, with an additional user-typed message, even.
Your phone may running a customized rom like CM.
If you want to report log when your app get FC,one way is catch exceptions and mail them.
I can see some application crashes reported in Crashes & ANRs section in my Google Play developer console. I can view the stack trace of the crashes there.
What I want to know is, does android always collect data about crashes or does the user need to manually report the crash, for me to be able to view the crash report in developer console? I have seen several apps crash on my device, but I cannot remember that I was asked for a confirmation to report the issue.
does the user need to manually report the crash, for me to be able to
view the crash report in developer console?
It appears in the developer console only if the user reports it. The user can also choose to add a message with the report.
The report prompt looks like this:
May be this answer is not relevant to your question, but it helps you.
Try to go for tools like crashlytics, crittercism ...
Crashlytics is free of cost. You can handle non-fatals too (Exception occurred in try catch, but u need to log those to dashboard.)
No need to depend upon the google console crash report.
I am getting feedback that the application is crashing sometimes but when i open "Crashes & ANRs" in google play it alway reports 0 new crashes. is there something i am missing ??
you won't see any crash unless the users send them
In order to get any information in crashes & anr's users have to click "report" when they got an information that it crashed. If they won't do it, you won't get any info.
I've released an application to some people for testing. Some of them are reporting that it works fine, while other say that they are getting Force Close error on the first run. How can I get the error description that happens, so I can fix it?
For now, ask users to install any logcat reading app and send you the stacktrace, if they're running Android 4.0 or below.
In future updates, integrate a library like ACRA that can automatically send you error reports.
Ask a selection of your users to install aLogcat, and to send the logs to you when the problem occurs. After all, assuming they're all suffering from the same problem, you only really need a single user to send you the logs so that you can get a call stack to diagnose it.
Look here:
You can try Application Crash Report for Android.
Second most suitable for error logging BugSense. It upload the error message on dashboard immediately.
Third I have example on github to send the error trace on to developer email.
https://github.com/ajaysaini-sgvu/CrashReport
To collect crash reports as a developer one uses logcat. Is there a standard way for a published android application to capture crash logs so that your users can send them to you?
Is there any callback that is called when an app crashes for example? Can the strategy that logcat uses to log be adopted to a production game?
Similar question for iOS Apps:
How can I allow users to give me feedback and submit bug reports for my iOS app?
Related Question
How can I accept bug reports and other user feedback from within my app?
EDIT 1:
In addition to the frameworks mentioned in the answers below a lower level approach to capturing all uncaught exceptions can be used an is mentioned here Ideal way to set global uncaught exception Handler in Android
I personally use ACRA. I found it easy to integrate, and it meets my requirements.
Reports are sent to a spreadsheet in Google Docs, and it can be configured to send you an email every time the app crashes
Using logcat is a solution but is only feasible when crashes are coming from your own device. However, you can have the crashes occurring on your users’ devices automatically sent to you as well, including all crash and device details.
This could be done through Instabug which is a bug & crash reporting service.
It automatically sends a report containing all crash and device details once a crash occurs, plus It only takes a line of code to integrate in your app.
For full disclosure, I work at Instabug. Let me know if I can help.
You can include Flurry Analytics in your app, which does create an error log when something craches and sends in back to the server, which you have access to. It will give you all the information like the LogCat.
I hope this helps.
There is also FirebaseCrash by Google which reports logs on your Firebase console.
Read more about it here
The Google Play Developer Console also reports crashes and application not responsive, under crashes and ANRs for each app.