To test the error run ./gradlew clean assembleDevDebug
Output: Dex: The number of method references in a .dex file cannot exceed 64K.
Event though the dev
flavor is set with minSdkVersion 23
Sample project to demonstrate the 64K dex limit error using minSdkVersion 23
Java