Skip to content

OK-5107 update cmdline-tools build reference#56

Merged
GerryMandell merged 2 commits into
mainfrom
gm/ok-5107-outdated-cmdline-tools-url
Apr 28, 2026
Merged

OK-5107 update cmdline-tools build reference#56
GerryMandell merged 2 commits into
mainfrom
gm/ok-5107-outdated-cmdline-tools-url

Conversation

@GerryMandell

@GerryMandell GerryMandell commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the cmdline-tools build reference in install_android_sdk defaults from 11076708 (released January 2024) to 13114758, which includes the pixel_9 device profile.

Problem

PR #52 (OK-5060) set the default device_profile to pixel_9, but the cmdline-tools URL was still pinned to a build that predates the Pixel 9 announcement (August 2024). As a result, avdmanager create avd --device pixel_9 fails with:

Error: No device found matching --device pixel_9.

This makes deploy_avd.yml fail out-of-the-box on any host that gets a fresh install_android_sdk run.

Fix

Bump install_android_sdk_cmdline_tools_url to build 13114758, which is a recent stable cmdline-tools release that includes the pixel_9 device profile.

Test plan

  • Run install_android_sdk.yml on a host with no existing SDK install (or with install_android_sdk_force=true)
  • Verify pixel_9 appears in avdmanager list device output
  • Run deploy_avd.yml against a running VM with default settings — confirm AVD is created without the "No device found" error

Notes

The build number was selected based on a known-good recent stable release. Worth verifying the latest available build on https://developer.android.com/tools/releases/cmdline-tools before merging if a newer one is preferred.

@GerryMandell GerryMandell marked this pull request as ready for review April 28, 2026 00:12
@GerryMandell GerryMandell requested a review from a team as a code owner April 28, 2026 00:12
@GerryMandell GerryMandell marked this pull request as draft April 28, 2026 00:12
@GerryMandell GerryMandell marked this pull request as ready for review April 28, 2026 13:25
@cameronbroe

Copy link
Copy Markdown
Contributor

While we're updating this one, let's just go on and pin to the current latest link maybe? This would be https://dl.google.com/android/repository/commandlinetools-mac-14742923_latest.zip off the wesbite: https://developer.android.com/studio

@GerryMandell

Copy link
Copy Markdown
Contributor Author

Updated to https://dl.google.com/android/repository/commandlinetools-mac-14742923_latest.zip 👍

@GerryMandell GerryMandell merged commit 61beeff into main Apr 28, 2026
2 checks passed
@GerryMandell GerryMandell deleted the gm/ok-5107-outdated-cmdline-tools-url branch April 28, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants