Android Studio Error: java.exe” finished with non-z [Solved]

E rror:Execution failed for task ‘: app:preDexDebug ‘.

> org.gradle.process.internal.ExecException: Process ‘command ‘C:\Program Files\Java\jdk1.8.0_ 51\bin\java.exe” finished with non-zero exit value 1


This is caused by a duplicate jar package during compilation

Or your jar package and the system default are repeated. Delete the jar package one by one and debug it

Similar Posts: