Reputation: 1939
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
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