Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter

前端 未结 8 1179
长发绾君心
长发绾君心 2020-12-03 06:35

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         


        
8条回答
  •  独厮守ぢ
    2020-12-03 06:55

    I've twice had this issue after changing some build.gradle plugins and dependencies around.

    Simply turning Android Studio off and on again fixed it for me (versions 2.1.2 and 2.2).

提交回复
热议问题