简体   繁体   中英

Gradle - finished with non-zero exit value 1

My gradle build showed this error, any idea?

Information:Gradle: Executing tasks: [:shownail_android:ShowNail:assembleShownailtestDebug, :RongIMKit:assembleDebug]
Information:Kotlin: Kotlin JPS plugin is disabled
Information:15/11/24 上午10:57 - Compilation completed with 1 error and 0 warnings in 39s 500ms
Error:Gradle: Execution failed for task ':shownail_android:ShowNail:dexShownailtestDebug'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

It's as easy as you can see. There are some java compile errors out there in your code.

build your project with the same tasks and append option '--stacktrace' , see what's going wrong.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM