0

Error:Execution failed for task

> ':app:transformClassesWithDexForDebug'. >
> com.android.build.api.transform.TransformException:
> com.android.ide.common.process.ProcessException:
> org.gradle.process.internal.ExecException: Process 'command
> '/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/bin/java''
> finished with non-zero exit value 2
dcohenb
  • 2,099
  • 1
  • 17
  • 34
Praduman Raparia
  • 131
  • 3
  • 13

1 Answers1

2

Try to clean your Gradle dependencies. if it doesn't work you can use "multiDexEnabled true" in Gradle.

There's a lot of info about this question ;)

EDIT:

link #1: http://frogermcs.github.io/MultiDex-solution-for-64k-limit-in-Dalvik/

link #2: com.android.build.transform.api.TransformException with android google play services

Community
  • 1
  • 1
oskarko
  • 3,382
  • 1
  • 26
  • 26
  • If there is 'a lot of info', could you provide links? This will make it easier for other users when they have the same problem. – Nander Speerstra Jul 27 '16 at 07:00
  • sure! a great link is this one http://frogermcs.github.io/MultiDex-solution-for-64k-limit-in-Dalvik/ and another good link is this http://stackoverflow.com/questions/33007289/com-android-build-transform-api-transformexception-with-android-google-play-serv – oskarko Jul 27 '16 at 09:56
  • Indeed, great links! Would you mind adding them to your answer? – Nander Speerstra Jul 27 '16 at 10:19