We at flinc put quite some effort in continuous integration. To improve your APK filesize and the number of method/field references in dex bytecode you first have to measure it. When I asked on Twitter I was pointed to the dexcount-gradle-plugin. It’s easy to use: app/build.gradleNow, if you compile your project, the plugin will output the number of dex method & field references after every build:
![Android APK size + dexcount charts on Jenkins](https://cdn-ak-scissors.b.st-hatena.com/image/square/264cb8faefccbae74b516028186d6f8ca23e43c4/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A978%2F1%2AqaCNTLZinTCgVuJTIT0ojw.png)