错误代码:
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Dev Tools\JDK\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value 1
原因: 该工程使用JDK1.7 ,Build Tools Version 24.0.0 ;版本兼容问题!如下图,修改Build Tools Version为 23.0.1 即可