Android Multidex and the Dex Method Limit Counting Method References On Every Build (Dexcount Gradle Plugin)

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9


The dexcount plugin counts methods and class resource count after a successful build.

Add the plugin in the app/build.gradle:

apply plugin: ''

buildscript {
    repositories {
        mavenCentral() // or jcenter()

    dependencies {
        classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.5.5'

Apply the plugin in the app/build.gradle file:

apply plugin: 'com.getkeepsafe.dexcount'

Look for the output data generated by the plugin in:


Especially useful is the .html chart in:


Got any Android Question?