-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on build, Duplicate class #24
Comments
Hi all, Plugin list: |
Hi @ramzed, Yes, the solution is set same version of library in gradle. i.e, in build.gradle in cordova-plugin-firebase: And try again! |
Thank you @jdla1990 It works! :) |
I know this is closed but google redirected me here many times and didn't found the answer to my problem. On my side, the error was from the combination between cordova platform Hope it helps somebody. |
Hi everyone!
Error output:
`:compileDebugNdk UP-TO-DATE
:compileDebugSources
:prePackageMarkerForDebug
:transformClassesWithJarMergingForDebug FAILED
FAILURE: Build failed with an exception.
BUILD FAILED
Total time: 14.071 secs
What went wrong:
Execution failed for task ':transformClassesWithJarMergingForDebug'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: cmd: 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 ':transformClassesWithJarMergingForDebug'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.`
Plugin list:
cordova-plugin-compat 1.0.0 "Compat" cordova-plugin-device 1.1.2 "Device" cordova-plugin-file 4.2.0 "File" cordova-plugin-file-opener2 2.0.2 "File Opener2" cordova-plugin-file-transfer 1.5.1 "File Transfer" cordova-plugin-firebase 0.1.9 "Google Firebase Plugin" cordova-plugin-geolocation 2.2.0 "Geolocation" cordova-plugin-inappbrowser 1.4.0 "InAppBrowser" cordova-plugin-network-information 1.2.1 "Network Information" cordova-plugin-splashscreen 3.2.2 "Splashscreen" cordova-plugin-whitelist 1.2.2 "Whitelist" cordova-plugin-x-toast 2.5.2 "Toast" plugin.google.maps 1.3.9 "phonegap-googlemaps-plugin"
Any idea to resolve? Thanks!
The text was updated successfully, but these errors were encountered: