phonegap bulid apk erorr

by pro4soft   Last Updated April 12, 2018 17:11 PM

phonegap erorr how resolve it

my plugins

https://github.com/razorpay/razorpay-cordova.git
https://github.com/danwilson/google-analytics-plugin.git
com.paypal.cordova.mobilesdk
cordova-plugin-buildinfo npm 1.1.0
cordova-plugin-camera npm 2.4.1
cordova-plugin-device npm *
cordova-plugin-file-transfer npm 1.6.2
cordova-plugin-geolocation npm 1.0.1
cordova-plugin-googlemaps-plus npm *
cordova-plugin-googleplayservices npm *
cordova-plugin-googleplus npm 5.2.1
cordova-plugin-inappbrowser npm *
cordova-plugin-media npm 3.0.0
cordova-plugin-network-information npm *
cordova-plugin-request-location-accuracy npm 2.2.0
cordova-plugin-splashscreen npm *
cordova-plugin-whitelist npm *
cordova-plugin-x-toast npm 2.6.0
cordova.plugins.diagnostic npm 3.7.1
phonegap-plugin-push npm 1.10.6

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForRelease'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/actions/ReserveIntents;

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

BUILD FAILED

Total time: 20.6 secs
Error: /gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForRelease'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/actions/ReserveIntents;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)


Related Questions


How to reinitialise SIM card?

Updated August 10, 2016 08:04 AM