The error is as follows:
Error:execution failed for task ': Companion:predexdebug '.
> com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:
Process ' command ' C:\Program files\java\jdk1.8.0_40\bin\java.exe '
Finished with Non-zero exit value 1
Reason: Online to find a lot of methods, can not be solved, and later through the Gradle in the command line compile found the following problems:
Error when Streamingsdk1.0.jar; Invalid END header (bad Central directory offset)
Error when Streamingsdk1.0.jar; Java.io.EOFException
Jar package problem is that you need to use the JAR package format error ...
Workaround: Remove the wrong jar package to compile and run,
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android Studio newspaper Error:execution failed for task ': Companion:predexdebug '.