-5

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

Arpit Prajapati
  • 367
  • 2
  • 16
Abhinav Gupta
  • 2,225
  • 1
  • 14
  • 30
  • post your manifest and gradle – Learning Always Jan 08 '18 at 12:22
  • @AbhinavGupta concerning your current edit-activity: would you please note that code-markdown ist for code only, not for product-names or random technical terms. Please don't ruin posts by adding tons of wrong backticks.... – piet.t Mar 07 '18 at 09:57
  • @AbhinavGupta please use the backticks only for code - "sqlite" is a product name, not code. "QR code" is a technical term, not code etc... – piet.t Mar 08 '18 at 07:45
  • @piet.t OK I will remember for the next time – Abhinav Gupta Mar 08 '18 at 07:51

1 Answers1

1

use multiDexEnabled true; in defaultConfig of Gradle file as

defaultConfig {
        applicationId "Your app Id"
        minSdkVersion 19
        targetSdkVersion 24
        multiDexEnabled true;
}

and add compile 'com.android.support:multidex:1.0.0' in dependencies

Kapil Parmar
  • 881
  • 8
  • 19