title: Android Studio hangs when gradle build fails
body: <p>My android studio was working fine till this evening until I copies the GridLayout code from internet but forgot to update the dimen resource folder according to it and click on build gradle. First gradle build fails and then android studio freezes. I tries to restart it so many times but the same problem remains.Android studio is working fine for other projects but for freezes evertime i open this project.</p>
  
  <p>I know this problem had been asked so many times and I had tries all the given methods given there but none of them works for me. Any one else having the same issue and if yes how did you solve this?</p>
  
  <p>My Android Studio version is 2.1.2</p>