'"AndroidRuntime: Shutting down VM" with nothing else
For some reason, LogCat doesn't report any stack traces anymore on crashes. Instead, I only get the following info:
D/AndroidRuntime: Shutting down VM
W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x40dd3960)
This is really weird because I've been working on the very same project for three months, and only recently (two, three days ago) the stack traces stopped showing. What could cause this? How can I get it to show stack traces again?
Solution 1:[1]
Very simple to fix.
Just change from
...
Tracker tracker; // from Google Analytics
...
tracker = analytics.newTracker(getStringRes(R.string.ga_tracker));
tracker.enableExceptionReporting(true); // this is the cause
To:
tracker.enableExceptionReporting(false);
Now, it's back to normal.
Solution 2:[2]
This can also happen if any of the operations are left unimplemented like if (Todo is written inside the overridden methods) so after implementing these all the methods this error is gone
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | Priyanshu Paliwal |
