Installing version 15859902 of the command line tools fails because the URL has changed:
Run android-actions/setup-android@v4
Found preinstalled sdkmanager in /Users/admin/android-sdk/cmdline-tools/latest with following source.properties:
Pkg.Revision=20.0
Pkg.Path=cmdline-tools;20.0
Pkg.Desc=Android SDK Command-line Tools
Wrong version in preinstalled sdkmanager
Downloading commandline tools from https://dl.google.com/android/repository/commandlinetools-mac-15859902_latest.zip
/Users/admin/actions-runner/_work/_actions/android-actions/setup-android/v4/dist/index.js:22590
const err = new HTTPError(response.message.statusCode);
^
HTTPError: Unexpected HTTP response: 404
at /Users/admin/actions-runner/_work/_actions/android-actions/setup-android/v4/dist/index.js:22590:19
at Generator.next (<anonymous>)
at fulfilled (/Users/admin/actions-runner/_work/_actions/android-actions/setup-android/v4/dist/index.js:22523:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
httpStatusCode: 404
}
Node.js v24.18.0
Installing version 15859902 of the command line tools fails because the URL has changed:
Instead of
https://dl.google.com/android/repository/commandlinetools-mac-15859902_latest.zip
It should be (on ARM Macs):
https://dl.google.com/android/repository/commandlinetools-mac_arm64-15859902_latest.zip
or (on Intel Macs)
https://dl.google.com/android/repository/commandlinetools-mac_x86_64-15859902_latest.zip