NoClassDefFoundError (4.0.4- 4.4.2)on Android Live Application -


recently pushed app(proguard enabled) play store start reporting noclassdeffounderror on activities (not library activity), these happening on android os version 4.0.4 - 4.4.2 . appreciated.

apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' apply plugin: 'android-apt' apply plugin: 'jacoco' def final myapplicationid = 'myapp.appmodules.login'  android {     compilesdkversion 23     buildtoolsversion "24.0.0"      defaultconfig {         vectordrawables.usesupportlibrary = true         applicationid myapplicationid         minsdkversion 15         resconfigs "en"         targetsdkversion 23         compileoptions.encoding = 'windows-1252' /**        compileoptions {             sourcecompatibility javaversion.version_1_7             targetcompatibility javaversion.version_1_7         }*/     }      dexoptions {         javamaxheapsize "4g"     }     testoptions {         unittests.returndefaultvalues = true     }       buildtypes {         release {             minifyenabled true             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt'              debuggable false             jnidebuggable false             renderscriptdebuggable false             zipalignenabled true         }         debug {             testcoverageenabled true         }     }     productflavors             {                 production                         {                          }                 staging                         {                          }                 quality                         {                          }                 dev                         {                          }             } } repositories {     mavencentral() }  task jacocotestreport(type: jacocoreport) {     group = "reporting"      description = "generate jacoco coverage reports"      // exclude auto-generated classes , tests     def filefilter = ['**/r.class', '**/r$*.class',                       '**/buildconfig.*', '**/manifest*.*',                       'android/**/*.*', '**/*$viewbinder*.*', '**/view/**', '**/vo/**/*.*']      def debugtree = filetree(dir:             "${project.builddir}/intermediates/classes/production/debug",             excludes: filefilter)     def mainsrc = "${project.projectdir}/src/main/java"      sourcedirectories = files([mainsrc])     classdirectories = files([debugtree])     additionalsourcedirs = files([             "${builddir}/generated/source/buildconfig/production/debug",             "${builddir}/generated/source/r/production/debug"     ])     executiondata = filetree(dir: project.projectdir, includes:             ['**/*.exec', '**/*.ec'])      reports {         xml.enabled = true         xml.destination = "${builddir}/jacocotestreport.xml"         csv.enabled = false         html.enabled = true         html.destination = "${builddir}/reports/jacoco"     } }    dependencies {     compile project(':imagecropper')     compile project(':dropboxchoosersdk')      compile 'com.android.support:recyclerview-v7:23.4.0'     compile 'com.android.support:appcompat-v7:23.4.0'     compile 'com.android.support:design:23.4.0'     compile 'com.android.support:cardview-v7:23.0.1'     compile 'com.facebook.android:facebook-android-sdk:3.23.1'     compile 'com.google.android.gms:play-services-drive:8.4.0'     compile 'com.google.android.gms:play-services-wearable:8.4.0'     compile 'com.google.android.gms:play-services-analytics:8.4.0'     compile 'com.google.android.gms:play-services-gcm:8.4.0'     compile 'uk.co.chrisjenx:calligraphy:2.2.0'     compile 'com.google.code.gson:gson:2.2.4'     compile 'com.jakewharton:butterknife:8.0.1'     apt 'com.jakewharton:butterknife-compiler:8.0.1'     compile files('libs/volley.jar')     compile files('libs/comscore.jar')       androidtestcompile 'com.android.support.test:runner:0.3'     androidtestcompile 'com.android.support.test:rules:0.3'     testcompile 'org.mockito:mockito-all:1.10.19'     testcompile 'org.powermock:powermock-api-mockito:1.6.4'     testcompile 'org.powermock:powermock-module-junit4:1.6.4'     testcompile 'junit:junit:4.12'  } configurations.all {     resolutionstrategy.force 'com.android.support:support-annotations:22.2.0' } 


Comments