0

getting the exception:

 java.lang.NoClassDefFoundError:

i tried NoClassDefFoundError with libraries in Android Studio

./gradlew clean is successful from terminal

still i am getting same exception

Community
  • 1
  • 1
Digit
  • 1,929
  • 1
  • 14
  • 17

1 Answers1

1

You need to deploy the Activity in AndroidManifest.xml which threw the java.lang.NoClassDefFoundError. In your libraries, some classes may be a descendant of an Activity which need to be manifested in the AndroidManifest.xml when you want to call it.

SilentKnight
  • 13,761
  • 19
  • 49
  • 78