I\'m trying to compile my Android project in Android Studio 0.3.0. Today I get the following error:
Exception in thread \"main\" java.lang.NoClassDefFoundErr
I've twice had this issue after changing some build.gradle plugins and dependencies around.
build.gradle
Simply turning Android Studio off and on again fixed it for me (versions 2.1.2 and 2.2).