My app gives NoClassDefFoundError
for versions of sdk 19 or below.
I had in my gradle
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.idg.mail"
minSdkVersion 14
targetSdkVersion 23
multiDexEnabled = true
}
Now i tried to change it to
compileSdkVersion 19
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.idg.gatcamail"
minSdkVersion 19
targetSdkVersion 19
multiDexEnabled = true
}
i changed in app-> module settings - android - sdk
as well.
With these changes i built the project but still it gives same error on my android 4.4
and it runs on higher versions.
The class is a class defined in the code where i handle network operations.
How can i do the debugging of this issue