Android Save Log Or Bug Tracking - android

I have developed application in Android and submit to client for testing feature now at that time error are generated now I want to track that error. I have use android Log.e(string,string) method for logging. Is it save any where in android device I can check that bug. Or have any bug tracking solution for android that give me log of application.

You could use acra for that : http://code.google.com/p/acra/
It's really easy to use and you can include almost anything you want in your crash reports.

Related

How to fix the issue if app is crashed in android?

I have developed and put an android application in Google Play store.
Someone inform me that the app is crashing while doing something in application.
As a application developer,
How to find the problem and fix it in android?
Is there any tool or framework to debug the crashed app in android?
There are many sdks out there which can be incorporated in your app.
You can use
1. crashlytics
2. localytics
3. crittercism
Its always a best practice to include some analytics tools in your android application to know where users are spending a lot of their time. I personally like flurry Analytics.
Since you have already uploaded the apk you should check it out in the google play developer console. Even google will provide the crash data, and it is the only resource you have.
As far as fixing the application goes you can do it only by uploading a new apk and asking the users to update the app.
ACRA is a right choice for you to analyze the crash report. Please refer the following link to implement in your project.
https://github.com/ACRA/acra
And also, You can find the crash report in your developer console if the the user has sent the crash report while force closing of the application.
Please ensure that you have not enabled the proguard. if you have enabled proguard, try decode the lines using the following link
http://developer.android.com/tools/help/proguard.html#decoding

Does Android maintains any exception info when application crashes?

I hope title itself says what my question is.
My app is crashing at very rare scenarios like nearly 1 out of 100 times.
I am not using any crash log tools and not logging exception causes.
I want to know does Android system maintains any crash log report when the app is crashed either in System level or in App level.
Thanks
Android system maintains a crash report and sends to the developer but the user has to allow this.
And then you can check it here in Android Developer Console:
As an alternative you can use third-party loggers like Liquid, Crashlytics (mention in another answer), Splunk MINT Express (ex-Bugsense) or any other from this links
I don't think so, if you can't debug it in real time with the IDE (DDMS and LogCat), you must use Crashlytics or any other similar tool.
I use it in all my apps, it is very useful.

Android: logging of published application

My application is going to be published in the market. I want to know if is there any standard lib or procedure we can follow for collecting logs of published apps.It should not only collect the crash logs but also have to log apps critical events and send to a predefined backend server. And my source code is obsucated using proguard.
Please suggest an efficient way if anyone has done it.
If you're after free and open source check out the following lib: ACRA.
What is ACRA?
ACRA is a library enabling Android Application to automatically post their crash reports to a GoogleDoc form(now deprecated, but they instead use Acralyzer, which is much better). It is targetted to android applications developers to help them get data from their applications when they crash or behave erroneously.
Here you can find their GitHub page which lists all the features of ACRA if you want to decide if this is for you.
I want to know if is there any standard lib or procedure we can follow for collecting
logs of published apps.It should not only collect the crash logs but also have to log apps
critical events and send to a predefined backend server.
There is an open Source Library called Apache log4j. So by using this Api you can store the all kind of Log into a Text or .Xml file and will be stored in your given path.
You can find the document Log4j
You can download jar from Here
And if you released your application then you can get the Crash log on Google Play Developer Console.
Or else you can use Android Crash report using ACRA to get the Crash log in terms of Excel
Hope this will help you.
You can use Hockey App for retrieving crash reports from users. You can use this link also

How to find a crash report from an Android device?

I am developing android application for client. Now client testing my application in various device. While testing, my application is crash at times. Now I need to know when and where the application crash.
How can I get the crash report from the device? Since my client does not have sdk and eclipse to view logcat error report.
There are mechanisms like ACRA that will let you obtain the crash reports from Android apps.
Instabug is a bug & crash reporting service and it’s just what you’re looking for.
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.
By adding the Crash Report SDK in the project, You can view the released application crash log, which will help to locate problems.
Here is a demo page

Android debugging

since the latest version of my Android application I got some bug reports (via email) that my application doesn't work anymore. It does not crash but doesn't work anymore. Only a few users (<0.05%) have this problem. I don't see any similarities (same phone/provider/...).
Has anyone an idea how I can tackle this problem and find the bug?
If I publish a debug version of the application, is there any tool that the end-user can use to grab the logcat output and send it per email or...
Thanks!
My suggestion is that you incorporate a logging feature on your app, even the retail one. Make a log of critical/fatal errors, but try to minimize the log size (e.g. erasing it periodically or only logging really really critical errors). This way you can request such logs for such users, without having them install a new version of the app, and having them to recreate the erros, since sometimes recreating the whole situation in which such crashes occur is close to impossible, or that it doesn't happen for some other reason in a debug version.
You can also incorporate a function that sends you the log periodically, or just request it to the users.
I don't know any tool other than ADK to grab the logcat...
One of the best debugging tool available is the ACRA library.
Below are few links, which will help you to use this library.
1) http://code.google.com/p/acra/downloads/detail?name=acra-4.2.3.zip&can=2&q=
2)http://code.google.com/p/acra/wiki/BasicSetup
Let me know if you are stuck somewhere.

Categories

Resources