* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\WeX536\java\jre1.8\bin\java.exe'' finished with non-zero exit value 2
对,这两个插件不能共同打包,去掉一个jar包,还是报错,phonegap-plugin-barcodescanner这个插件和自定义的插件com.tms.printer不能共同打包,com.tms.printer这个插件共引用了2个jar包(qr_yt_sdk.jar和core-3.2.1.jar),报错显示 如下:
* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\WeX536\java\jre1.8\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.