Skip to content

Requesting/Begging for a China available mirror image #240

Closed

Description

@dubiao

Due to terrible network situation of China, asking that is there any mirror for the image...

Or, if any possible to push this image r-google-x64 to docker cloud, that will be automatly sync to mirrors.

Thanks to anyone / anyway could help.

Activity

  1. jpcottin commented on May 16, 2026

    @jpcottin
    Collaborator

    @dubiao — apologies this sat for ~5 years. #411 (merged today) provides part of what you asked for: a new ANDROID_REPOSITORY environment variable that lets you point all system-image / emulator / platform-tools downloads at a mirror of your choice.

    export ANDROID_REPOSITORY=https://mirrors.tuna.tsinghua.edu.cn
    emu-docker create stable "Q google_apis x86_64"

    The script will fetch sys-img2-5.xml and the per-package zips from that base instead of dl.google.com. Any mirror that preserves the upstream android/repository/... path layout should work (TUNA, Aliyun, etc.).

    What this doesn't address: the second half of your request — auto-publishing the prebuilt container images (us-docker.pkg.dev/android-emulator-268719/...) to a registry that syncs to Chinese mirrors. That's an infra/distribution decision outside the scope of this repo's code.

    Closing as the in-scope part is shipped. If you hit issues using ANDROID_REPOSITORY against a specific mirror, please open a new issue with the mirror URL and the failure — the code and instructions have changed substantially since this was filed, so a fresh thread will be easier to track.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions