Android Studio编译运行project报错:····· finished with non-zero exit value 1

   

    错误代码:

 

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 即可

 

   

 

   

 

转载于:https://www.cnblogs.com/chiangfai/p/5828182.html

你可能感兴趣的:(Android Studio编译运行project报错:····· finished with non-zero exit value 1)