There wasn't any problem when I add:
multiDexEnabled true
but I want to disable multidex.. when I make it:
multiDexEnabled false
or just deleting this line I get this error:
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
I made my research everybody said that you need to make multidex true ... But I don't want to use multidex.