Failure updating android packages

android

#1

All day today I’ve gotten errors when attempting to download android packages, ie:

Installing Archives:
  Preparing to install archives
  Downloading Android SDK Platform-tools, revision 24.0.2
  Download interrupted: Read timed out
  Downloading Android SDK Build-tools, revision 24.0.1
  Download interrupted: Read timed out
  Downloading SDK Platform Android 7.0, API 24, revision 2
  Installing SDK Platform Android 7.0, API 24, revision 2
    Installed SDK Platform Android 7.0, API 24, revision 2
  Done. 1 package installed.

or

> echo y | android update sdk --no-ui --all --filter "android-24,build-tools-24.0.1,platform-tools,extra-android-m2repository,extra-google-m2repository"
  Validate XML: https://dl.google.com/android/repository/repository-8.xml
  Failed to fetch URL https://dl.google.com/android/repository/repository-8.xml, reason: SocketTimeout Read timed out
  Parse XML:    https://dl.google.com/android/repository/repository-8.xml
  Fetching URL: https://dl.google.com/android/repository/addon.xml
  Failed to fetch URL https://dl.google.com/android/repository/addon.xml, reason: SocketTimeout Read timed out
  Fetching URL: https://dl.google.com/android/repository/glass/addon.xml
  Validate XML: https://dl.google.com/android/repository/glass/addon.xml
  Parse XML:    https://dl.google.com/android/repository/glass/addon.xml
  Fetching URL: https://dl.google.com/android/repository/extras/intel/addon.xml
  Failed to fetch URL https://dl.google.com/android/repository/extras/intel/addon.xml, reason: SocketTimeout Read timed out
  Fetching URL: https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Failed to fetch URL https://dl.google.com/android/repository/sys-img/android/sys-img.xml, reason: SocketTimeout Read timed out
  Fetching URL: https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml

Any suggestions?

For reference, here’s my circle.yml:

machine:
  java:
    version: oraclejdk8

dependencies:
  pre:
    # Get the deps that aren't installed by default on circle.
    # --all is required to actually update (ie build-tools sees that there's an existing version and ignores the filter)
    - echo y | android update sdk --no-ui --all --filter "android-24,build-tools-24.0.1,platform-tools,extra-android-m2repository,extra-google-m2repository"

#2

Just to confirm that we’re having the same problem, and it started 3 hours ago.


#3

Similar issue we are seeing - URL at https://dl-ssl.google.com/linux/linux_signing_key.pub timing out.


#4

We too are seeing failures for a Google download from a Dockerfile in CircleCI:

curl -O https://storage.googleapis.com/golang/go1.6.3.linux-amd64.tar.gz


#5

We are seeing the issue as well and started roughly 4 hours ago for us. Any update on what is going on?


#6

Hi everyone,

Thank you for bringing this to our attention. We have been getting several reports of issues communicating with google services. I am working with our ops team to see if there is anything that we can do. I will update you as soon as we have more information.

Best,
Lev


#7

In my dummy builds I am now able to communicate with Google Services and update Android libraries, can someone please let me know if you are still seeing this issue on new builds?


#8

Looks like some of the builds I have queued are past the step that caused the issue before and are rebuilding.


#9