I am using just this in every Activity:
@Override
public void onStart() {
super.onStart();
EasyTracker.getInstance().activityStart(this);
}
@Override
public void onStop() {
super.onStop();
EasyTracker.getInstance().activityStop(this);
}
and going through this doc
I found out:
Using EasyTracker
To automatically track all uncaught exceptions in your app using EasyTracker, add this line to your analytics.xml file:
<bool name="ga_reportUncaughtExceptions">true</bool>
After tracking an exception using automatic exception tracking, EasyTracker will pass the exception on to the Thread's default exception handler.
When using automatic exception tracking, keep in mind the following:
- All exceptions tracked via automatic exception tracking are reported as fatal in Google Analytics.
- The description field is automatically populated using the stack trace.
But when i get an UncaughtException and the application crashes, in the Google Analytics description, it just shows:
An error occured while executing doInBackground()
not the Stack Trace as mentioned in the above points. Any thing needs to be added??
Thank You