dialogflow-cordova-client icon indicating copy to clipboard operation
dialogflow-cordova-client copied to clipboard

Compile error when using new cordova plugins

Open AllonisDave opened this issue 7 years ago • 1 comments

Getting this build error after adding this plugin into an existing project.

Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':transformClassesWithDexForArmv7Debug'.

com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.and roid.dex.DexException: Multiple dex files define Lorg/apache/commons/io/Charsets;

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Picked up _JAVA_OPTIONS: -Xmx512M

Researching this problem and it sounds like this plugin needs to be rebuilt so that it compiles using gradle. Any plans on issuing an updated version of this plugin so it will build correctly against more modern cordova plugins?

AllonisDave avatar Jul 30 '17 23:07 AllonisDave

Same issue please help

fizaict avatar Mar 14 '19 05:03 fizaict