After adding braintree plugin this error is occure:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:transformClassesWithDexBuilderForDebug’.
ption: Dex archives: setting .DEX extension only for .CLASS files
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Get more help at https://help.gradle.org
BUILD FAILED in 3s
at ChildProcess.whenDone (C:\Riya work\eatsie\platforms\android\cordova\node
at ChildProcess.emit (events.js:180:13)
at maybeClose (internal/child_process.js:936:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
(node:5164) 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
(node:5164) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
Node.js process with a non-zero exit code.
can anyone provide full code for braintree payment gateway card payment for ionic.