You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2018/03/05 22:16:00 UTC

[jira] [Commented] (CB-13929) duplicate entry: android/support/v13/view/DragStartHelper$OnDragStartListener.class

    [ https://issues.apache.org/jira/browse/CB-13929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16386843#comment-16386843 ] 

Joe Bowser commented on CB-13929:
---------------------------------

There's some third party plugins there that could be including support twice after the recent update.  This is why we've been trying to avoid using the support library in Cordova for so long, since it could easily cause problems like this in the gradle file.  Do you have the generated gradle file handy, namely the part where it's including the different libraries? 

> duplicate entry: android/support/v13/view/DragStartHelper$OnDragStartListener.class
> -----------------------------------------------------------------------------------
>
>                 Key: CB-13929
>                 URL: https://issues.apache.org/jira/browse/CB-13929
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android
>    Affects Versions: cordova@7.0.0
>            Reporter: Daniel Ramos
>            Assignee: Joe Bowser
>            Priority: Major
>
> Hello Cordova team.
>  
> Today I've launched my app build in Jenkins as always, and it gives me the following error:
>  
> {code:java}
> ...
> Note: Recompile with -Xlint:unchecked for details.
>  :compileArmv7DebugNdk UP-TO-DATE
>  :compileArmv7DebugSources
>  :transformClassesWithJarMergingForArmv7Debug FAILED
> FAILURE: Build failed with an exception.
>  * What went wrong:
>  Execution failed for task ':transformClassesWithJarMergingForArmv7Debug'.
>  > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v13/view/DragStartHelper$OnDragStartListener.class
> {code}
> I've been investigating what could have caused this issue, and the only thing that I can find that is different from previous builds, is an update that Cordova did over support-v4.
> Here is the log diff: [https://gist.github.com/DanielRamosAcosta/29f3223c3b8f96447814122bfc193f08]
> Cordova version & plugins:
> {code}
> "dependencies": {
>     "cordova": "^7.1.0",
>     "cordova-android": "^6.4.0",
>     "cordova-plugin-android-permissions": "^1.0.0",
>     "cordova-plugin-crosswalk-webview": "^2.3.0",
>     "cordova-plugin-dbmeter": "^2.1.0",
>     "cordova-plugin-screen-orientation": "^3.0.1",
>     "cordova-plugin-statusbar": "^2.4.1",
>     "cordova-plugin-whitelist": "^1.3.3",
>     "cordova-plugin-x-socialsharing": "^5.2.1",
>     "es6-promise-plugin": "^4.1.1"
>   },
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org