Description
I'm submitting a ... (check one with "x"):
- bug report
- feature request
- documentation issue
Bug report
Current behavior:
If both plugins are added, build fails. It seems it's a version clash of OkHttp
Expected behavior:
Successful build
Steps to reproduce:
Environment information
-
Cordova CLI version
cordova -v
: 6.5.0
-
Cordova platform version
cordova platform ls
:
android 6.2.3
browser 4.1.0
ios 4.3.1
-
Plugins & versions installed in project (including this plugin):
cordova plugin ls
cordova-hot-code-push-local-dev-addon 0.4.2 "Hot Code Push Local Development Addon"cordova-hot-code-push-plugin 1.5.3 "Hot Code Push Plugin"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-camera 2.3.1 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-customurlscheme 4.2.0 "Custom URL scheme"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-dialogs 2.0.1 "Notification"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-geolocation 2.4.3 "Geolocation"
cordova-plugin-inappbrowser 1.6.1 "InAppBrowser"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
ionic-plugin-keyboard 2.2.1 "Keyboard"
nl.madebymark.share 0.1.1 "Share"
onesignal-cordova-plugin 2.1.2 "OneSignal Push Notifications"
uk.co.workingedge.phonegap.plugin.launchnavigator 4.2.0 "Launch Navigator"
- Dev machine OS and version, e.g.
Ubuntu
console output
FAILURE: Build failed with an exception.- What went wrong:
Execution failed for task ':transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: okhttp3/internal/ws/RealWebSocket$1.class
- 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: 6.16 secs
Error: 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: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: okhttp3/internal/ws/RealWebSocket$1.class