Closed chancezeus closed 7 years ago
I'm unable to reproduce this issue: adding the latest version of cordova-plugin-crosswalk-webview
to on of the projects in the example repo builds fine (see build output below). Please try doing the same and building one of the example projects with cordova-plugin-crosswalk-webview
to confirm this.
From the Gradle output, I can see that crosswalk no longer explicitly includes a specific version of okhttp so I wonder if this is really the cause of your error? Check that you don't have any other additional plugins in your own project which reference specific versions of the okhttp library. There are some plugins which pin specific versions of the library and these will collide with this plugin which only pins the major version to 3 (which is still the most recent major version). If another plugin is the cause, you will need to manually fix the version clash in the build.gradle file.
I came across a "multiple dex files define" error when compiling an app integrating both the latest version of this plugin and the cordova-plugin-crosswalk-webview, related to the OkHttp library. Please investigate and fix/update, since the crosswalk webview is required/used by a lot of cordova app's...