android studio 报'jdk1.8\bin\java.exe''...

FAILURE: Build failed with an exception.

  • What went wrong:
    run的时候报错:
    Execution failed for task ':xxxxxxxx'.

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_73\bin\java.exe'' finished with non-zero exit value 2

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

只能看到是构建失败,具体的错误要看日志