I have a strange question. My application never crashes. Instead, it freezes my phone. Even when I throw an exception, it freezes without an error log.
This is probably a problem with the device (I tried it on 3 devices), and not a problem with the application (I tried several test projects). Of course, the problem is with Android Studio, because it works correctly in the Eclipse environment.
I am using Android Studio 1.2.2 and Mac OSX.
EDIT: the same question as reported by several other users, without any other specific information. The application freezes and only "Android VM shutting down" is displayed in the log. Crashlytics is not present, however Google Analytics is present, with ga_reportUncaughtExceptions = false
Decision
In the comments below, Saket reported:
This happened on my side because I registered a misconfigured UncaughtExceptionHandler by calling Thread.setDefaultUncaughtExceptionHandler ()
So, just find all the lines uncaughtExceptionHandlerin your project and try to comment / delete them.
source
share