E rror:Execution failed for task ‘: app:preDexDebug ‘.
> com.android.ide.common.process.ProcessException: 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:
- AndroidStudio Error: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ‘:app:proces
- [Solved] Error:java: Compilation failed: internal java compiler error
- [Solved] NPM run dev error [npm ERR! code ELIFECYCLE]
- Gradle Error: “aapt.exe” finished with non-zero exit value 1 [How to Solve]
- Eclipse:Failed to load the JNI shared library
- Solution to JavaFX error caused by: Java.Lang.NullPointerException: location is required
- Solve the problem of Android studio running time e rror:java.lang.NullPointerException (no error message) error
- Solve the error reported by vscode referring to C + + external library
- [Solved] Error occurred during initialization of boot layer