I get this error when trying to build my project after changing laptop and updating to Android Studio version 0.8.2.
FAILURE: Build failed with an exc
This is what I did
Remove .idea folder
$ mv .idea .idea.bak
Import the project again