Dominik Grzelak blog

transformClassesWithDexForRelease

[10.03.2017]
Place this line in your defaultConfig of your build.gradle:
multiDexEnabled true