Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 2.3 not showing exception stacktrace

I have updated Android Studio from 2.2 to 2.3, and now when any exception is thrown it does not appear in the "Run" section at all.

What I get only is a message that "Application terminated."

Even when I throw an exception deliberately, stacktrace is not showing...

enter image description here

like image 781
O. Shai Avatar asked Mar 17 '17 15:03

O. Shai


People also ask

How do I run a Stacktrace in CMD?

Head to Settings > Build, Execution, Deployment > Compiler. Add –debug or –info or –stacktrace (Or combination of them) to the Command line options.

How do you fix Failure build failure with an exception?

This will solve your problem In Android Studio, go to Tools->SDK manager and see that your android version is downloaded or not (for whatever emulator you have chosen as your virtual device). If not download it and play the emulator again. This should work now!! Save this answer.


1 Answers

I have the same problem ...Go to android monitor tab set the value of the menu in the middle to verbose....set the value of the right menu to show only selected application...and it works..now i can see what exactly causes my application to crush ..hope this helps

like image 182
Ahmed Rajab Avatar answered Oct 12 '22 00:10

Ahmed Rajab