ProGuard - Magic dieting pill for your app As stated in previous blog post Android Multidex tool has some limitations. I found another solution for the same problem: ProGuard can detect unused classes, methods, fields and attributes as end result the bytecode is optimized. Then it renames remaining elements what makes the reverse ingeneering a bit tougher. This is far better solution for overcoming reference count. Configure the Gradle settings for your app to run ProGuard with minifyEnabled set to true.