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

Update of sdk and build-tools for android-21 fails

    Details

    • Similar Issues:

      Description

      Hi, I am currently building on a linux slave that has the android-19 version installed. In the plugin I have activated the option "Automatically install Android components when required". In the project properties I set 'android-21', therefore the android-21 should be downloaded.

      But the download of android-21 fails (look at the log output):

      [android] Searching for Android projects...
      [android] Project file 'project.properties' requires platform 'android-21'
      [android] Ensuring platform(s) are installed: [android-21]
      $ /data/jenkins/tools/android-sdk/tools/android list target
      [android] The configured Android platform needs to be installed: android-21
      [android] Installing the 'android-21' SDK component(s)...
      $ /data/jenkins/tools/android-sdk/tools/android update sdk -u -a -t android-21
      Refresh Sources:
      Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
      Validate XML
      Parse XML
      Fetched Add-ons List successfully
      Refresh Sources
      Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
      Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
      Parse XML: https://dl-ssl.google.com/android/repository/repository-8.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
      Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
      Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
      Parse XML: https://dl-ssl.google.com/android/repository/addon-6.xml
      Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
      Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
      Parse XML: https://dl-ssl.google.com/glass/gdk/addon.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
      Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
      Parse XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
      Refresh Sources:
      Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
      Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
      Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
      Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
      Error: Ignoring unknown package filter 'android-21'
      Warning: The package filter removed all packages. There is nothing to install.

      Therefore the build fails. The workaround for me is at the moment to manually copy the new sdk to my sdk location (and also the build-tools). It would be nice if this functionality could be fixed.

      Thanks, best
      Carlo

        Attachments

          Issue Links

            Activity

            cbongiovanni Carlo Bongiovanni created issue -
            orrc Christopher Orr made changes -
            Field Original Value New Value
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Duplicate [ 3 ]
            orrc Christopher Orr made changes -
            Link This issue duplicates JENKINS-14100 [ JENKINS-14100 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159141 ] JNJira + In-Review [ 208147 ]

              People

              • Assignee:
                orrc Christopher Orr
                Reporter:
                cbongiovanni Carlo Bongiovanni
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: