-1

enter image description hereenter image description hereError: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

khalid536
  • 1
  • 2

2 Answers2

0

Add multidex support, please refer this stackoverflow answer

Some of your libraries adding same packages into the build path.

Community
  • 1
  • 1
Pratibha sarve
  • 369
  • 2
  • 11
0

adding multiDexEnabled true to your app build.gradle file.

 defaultConfig {
    multiDexEnabled true
Jai Khambhayta
  • 4,198
  • 2
  • 22
  • 29
  • You just copy and paste the answer [from here](http://stackoverflow.com/questions/32807587/com-android-build-transform-api-transformexception/32811133#32811133) posted by @JuliusScript and not even give the reference or credit to JuliusScript. – Andy Developer May 02 '17 at 06:47