Error generating APK - app: transformClassesWithDexForDebug

0

I'm trying to turn my application into APK for TCC delivery and I'm having the following error:

  

Error: Execution failed for task   ': app: transformClassesWithDexForDebug'.   com.android.build.api.transform.TransformException:   com.android.ide.common.process.ProcessException:   java.util.concurrent.ExecutionException:   com.android.dex.DexIndexOverflowException: method ID not in [0,   0xffff]: 65536

    
asked by anonymous 25.09.2017 / 06:43

1 answer

0

First of all, Clean Project in your project and after that add in your build.grandle file:

 defaultConfig {
    multiDexEnabled true
}
    
25.09.2017 / 06:57