Android Multidex and the Dex Method Limit edit

Counting Method References On Every Build Dexcount Gradle Plugin

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:


Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents
62 Multidex and the Dex Method Limit
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close