Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13929

duplicate entry: android/support/v13/view/DragStartHelper$OnDragStartListener.class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • cordova@7.0.0
    • None
    • cordova-android
    • None

    Description

      Hello Cordova team.

       

      Today I've launched my app build in Jenkins as always, and it gives me the following error:

       

      ...
      
      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
      

      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:

      "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"
        },
      

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            danielramos Daniel Ramos
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: