Error generating APK - app:transformClassesWithDexForDebug

Asked

Viewed 140 times

0

I am trying to turn my application into APK, for TCC delivery and am 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

1 answer

0

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

 defaultConfig {
    multiDexEnabled true
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.