Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38350

Unable to build Android app getting Could not expand ZIP error

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We decided to support Android 7.0 (API 24) for our Android App and upgraded our Gradle 2.10 to 2.14.1 and JDK7 to JDK8u102. We are unable to build our app in Jenkins 2.22 and 2.23 releases. We are getting a Could not expand ZIP error that we didn't get before. And I am able to build it successfully, both debug and release variants, in Android Studio using the same JDK8u102 and Gradle 2.14.1 on both Windows and Mac.

      I attached the the stacktrace.

      Let me know what other info you need.

        Attachments

          Activity

          Hide
          orrc Christopher Orr added a comment -

          The Gradle part of your build is failing, so this doesn't look like an issue with any of the various plugins to which you assigned this issue.

          It also sounds like you upgraded a bunch of different things at the same time. You need to figure out which version of Jenkins worked before with your current project setup, and then which is the first version of Jenkins where the exact same project setup does not work.

          If you have that info, and it looks like a relevant bug (e.g. in the Gradle plugin, or in Jenkins core), then you can open an issue with that information.

          Show
          orrc Christopher Orr added a comment - The Gradle part of your build is failing, so this doesn't look like an issue with any of the various plugins to which you assigned this issue. It also sounds like you upgraded a bunch of different things at the same time. You need to figure out which version of Jenkins worked before with your current project setup, and then which is the first version of Jenkins where the exact same project setup does not work. If you have that info, and it looks like a relevant bug (e.g. in the Gradle plugin, or in Jenkins core), then you can open an issue with that information.
          Hide
          derrikammons Derrik Ammons added a comment -

          Thanks Chris. I was able to reproduce this with Android Studio. So, it must be some configuration or Gradle setup. Thanks for taking a look.

          Show
          derrikammons Derrik Ammons added a comment - Thanks Chris. I was able to reproduce this with Android Studio. So, it must be some configuration or Gradle setup. Thanks for taking a look.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              derrikammons Derrik Ammons
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: