1

After updating the Gradle from 2.2.3 to 2.3.3 in android studio, all the JUnit test cases failed with the error,

java.lang.NoClassDefFoundError: android/content/Context

on every class initialization steps. No issues while running the application. Can anyone please help me to solve the issue.

dependencies {
    classpath 'com.android.tools.build:gradle:2.3.3' 
}
Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
remya thekkuvettil
  • 778
  • 1
  • 7
  • 22

0 Answers0