Digit
Digit

Reputation: 1939

java.lang.NoClassDefFoundError in android studio

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

Upvotes: 0

Views: 761

Answers (1)

SilentKnight
SilentKnight

Reputation: 14011

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.

Upvotes: 1

Related Questions