Android Studio compiles and runs the project and reports an error: ····· finished with non-zero exit value 1

   

    error code:

 

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

  

    Reason: The project uses JDK1.7, Build Tools Version 24.0.0; version compatibility problem! As shown below, modify the Build Tools Version to 23.0.1

 

   

 

   

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326973408&siteId=291194637