I\'m trying to compile my app as assembleRelease in Android Studio 1.0.1 and get the following message:
FAILURE: Build failed with an exception. * What went
I had the same problem with Gradle 1.1.0. It remembered some old class references which I have moved, and I couldn't build apk.
Try Build > Clean.
It helped me, and now I can build apk again.