Skip to content

Latest cmdline tools version fails to download #513

@AndreiBasangiu-TomTom

Description

@AndreiBasangiu-TomTom

According to google (here: https://developer.android.com/studio#command-line-tools-only), the latest is: https://dl.google.com/android/repository/commandlinetools-linux-13114759_latest.zip

When accessing the link directly you get a 404, because google now requires accepting Terms and Conditions before the download link is made valid:

Image

Error I'm getting in workflow:
`Run android-actions/setup-android@v3
Downloading commandline tools from https://dl.google.com/android/repository/commandlinetools-linux-13114759_latest.zip
/home/runner/_work/_actions/android-actions/setup-android/v3/dist/index.js:3527
const err = new HTTPError(response.message.statusCode);
^

HTTPError: Unexpected HTTP response: 404
at /home/runner/_work/_actions/android-actions/setup-android/v3/dist/index.js:3527:25
at Generator.next ()
at fulfilled (/home/runner/_work/_actions/android-actions/setup-android/v3/dist/index.js:3437:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
httpStatusCode: 404
}

Node.js v20.18.0`

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