If I run gradle assembleDebug from the command line, I am suddenly getting this error:
gradle assembleDebug
UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.util.DexEx
I had this same error but it was because I had recently changed from using v4 to v13. So all I had to do was clean the project.