I have a problem. Android Studio doesn't show exceptions. Instead of this application hangs and AndroidNotResponding
dialogs appears. But Android Studio logcat
shows nothing. For example, if I have a NullPointerException
in my program, it will not be shown but ANR dialog will appear. How can I repair this and catch my exceptions.
ok, I've found solution. It was because of GoogleAnalitycs. No exception was shown because of this line
mTracker.enableExceptionReporting(true);
If you have the same problem just comment this line and everything will work.