错误:任务执行失败
> ':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
答案 0 :(得分:2)
尝试清理Gradle依赖项。如果它不起作用你可以使用" multiDexEnabled true"在Gradle。
关于这个问题有很多信息;)
编辑:
链接#1:http://frogermcs.github.io/MultiDex-solution-for-64k-limit-in-Dalvik/
链接#2:com.android.build.transform.api.TransformException with android google play services