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
Asked
Active
Viewed 40 times
-1
-
Please share a relevant snippet of your code, which causes the error. – Sebastian Walla May 02 '17 at 06:12
-
Possible duplicate of this question http://stackoverflow.com/questions/32807587/com-android-build-transform-api-transformexception – Sandeep dhiman May 02 '17 at 06:12
-
ya , will share – khalid536 May 02 '17 at 06:12
-
main activity : – khalid536 May 02 '17 at 06:13
-
post your build.gradle file and manifest file – Ferdous Ahamed May 02 '17 at 06:20
-
I will send it. – khalid536 May 02 '17 at 06:22
2 Answers
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