Repository navigation
Fix CI: bump setup-android to v3 - #189
Merged
Merged
Conversation
setup-android@v2 runs `sdkmanager tools`, and the legacy `tools` package no longer exists in the SDK repository, so the job failed at SDK setup. Drop the explicit `tools` install for the same reason, and bump checkout/setup-java to v4 (temurin replaces deprecated adopt). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setup-android@v3 still defaults `packages` to 'tools platform-tools'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 32-bit x86 API 30 image never booted on current emulator builds and `adb wait-for-device` had no timeout, so the job hung. Switch to x86_64, cap the wait at 10 minutes, and print the emulator log on failure. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Current avdmanager writes AVDs to ~/.config/.android/avd while the
emulator looks in ~/.android/avd ("Unknown AVD name [test]"). Set
ANDROID_AVD_HOME so both use the same directory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
const-cloudinary
approved these changes
Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira: VIDEO-21269
Summary
CI has been red since the last green run on master (2026-06-14), with no repo changes — the runner toolchain moved under us. Two independent breakages:
1. SDK setup fails —
Warning: Failed to find package 'tools'→ sdkmanager exit 1.android-actions/setup-androiddefaults itspackagesinput to'tools platform-tools'(v2 and v3); the legacytoolspackage has been removed from the SDK repository. Bump to@v3withpackages: 'platform-tools'../sdkmanager "tools"in "Install Android SDK components".2. Emulator never starts, job hangs —
Unknown AVD name [test].avdmanagerwrites AVDs to~/.config/.android/avd, but emulator 37.x looks in~/.android/avd. SetANDROID_AVD_HOMEso both agree.adb wait-for-devicehad no timeout, so the failure showed up as a silent hang (up to 6h). Emulator output now goes toemulator.log, "Wait for emulator" hastimeout-minutes: 10, and a failure-only step prints the log.Also:
google_apis;x86→x86_64; emulator flags-no-snapshot -gpu swiftshader_indirect.actions/checkout/actions/setup-javav3 → v4;distribution: adopt→temurin(deprecated).No SDK code changes.
Test plan
a189c39): SDK setup, emulator boot (API 30 x86_64), and fullconnectedCheckpass🤖 Generated with Claude Code