I am using Android Studio 0.4.2. Opened project from a friend who is using 0.3.2. Tried to compile but got exception.
Execution failed for task \':JuiceTV:d
I just had the same issue and I discovered that my application and a library were referring to 2 versions of the same jar.
I did a search and my application.iml file clearly showed the duplicates.
I replaced the older v3 version with the v4 version and it worked after a clean rebuild.