Skip to content Skip to sidebar Skip to footer

Getting Error:execution Failed For Task ':app:transformclasseswithmultidexlistforrelease' With Multidex And Disabling Obfuscation

Hi I am using MultiDex in my app with Proguard. When -dontobfuscate line is present in the proguard rules, I am able to generate minified apk without obfuscation. But when I remov

Solution 1:

add javaMaxHeapSize "4g" inside app level build.gradle inside android tag

 android{
defaultConfig {
    multiDexEnabled true
}
dexOptions {
    javaMaxHeapSize "4g"
}
}

Post a Comment for "Getting Error:execution Failed For Task ':app:transformclasseswithmultidexlistforrelease' With Multidex And Disabling Obfuscation"