title: Android Studio hangs / Freezes when project build fails
body: <p>I am experiencing a very wired problem since this evening.</p>
  
  <p>If I have any errors in my android project, and build is failed, then my Android studio gets frozen / stuck. I cant do anything but kill the Android studio application.
  Even if I open the same project next time, gradle will try to build and freezes again. [Please find attached screen shot]</p>
  
  <p>Only solution I could find is .... I have to find what exactly cause the "build fail" and I will have to resolve the issue using some other editor, and then my android studio will start working.</p>
  
  <p>Thing is it was working without any issues till this evening; and suddenly broken down. Any one else having the same issue ??</p>
  
  <p>-n</p>
  
  <p><img src="https://i.stack.imgur.com/IWN5m.png" alt="enter image description here"></p>