tkyaji/cordova-plugin-crypt-file

Build fail

Opened this issue · 4 comments

Hello,
I'm trying to add the plugin in my Android Cordova project but I got this build fail error:

BUILD FAILED

FAILURE: Build failed with an exception.

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

java.lang.UnsupportedOperationException (no error message)

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

Could you please help me?

If you are using Cocoon just disable multiplex

I use plain Apache Cordova, no Cocoon. Maybe other plugins are in conflict with this one?

Maybe other plugin is usign multiplex, remove other plugins and try. Or you can create a brand new cordova project and add cordova-plugin-crypt-file in order to check that this plugin is not your main problem.

after added plugin and run build command >>>
(node:1389) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1389) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.