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
Add this to ProGuard setting file(like proguard-rules.pro)
-ignorewarnings
Add this to ProGuard setting file(like proguard-rules.pro)
-dontwarn okio.**
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.
I had to disable proguard with
minifyEnabled false
Not the best solution, but it works.
I think you have already resolve your problem. Anyway see this link: https://stackoverflow.com/a/29858070/3864698
The fix is planned for Gradle Plugin version 1.4. So we must wait a little bit.