Erreur de fichier dex unique Android

android {
    defaultConfig {
        ...
        minSdkVersion 21 
        targetSdkVersion 26
          
        multiDexEnabled true //this is it
    }
    ...
}//add multidexEnabled true to dependencies
RIPCode