[skill-runner] Skill runner report: update-androidsdk-packages

オープン
#13,370 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, csharp

調査の方向性

The failing check is the Gradle assembleDebug run of a temporary Android library, which errors on conflicting ANDROID_HOME and ANDROID_SDK_ROOT values. The validation path involves src/androidsdk/androidsdk.csproj and _ValidateAndroidSdkLicenses, with the SDK catalog in _PlatformPackage. Done means the SDK environment is consistent, the Gradle check passes, and the skill is rerun and validated.

索引モデルが issue の本文から書いたものです。

説明

automated needs-triage skill-runner

Skill run: update-androidsdk-packages

Run outcome: Failed — the required Gradle compatibility check encountered conflicting Android SDK environment variables. No commit or PR was created. Candidate catalog edits remain uncommitted in the workflow checkout.

Platform catalog check: No newer stable platform level exists upstream beyond 37.2, the highest API level already in _PlatformPackage. Platform 37.2 has a newer revision (r02); that is an existing-platform refresh, not a new API level.

Candidate changes
  • Emulator 37.2.12 → 37.2.13, archive build 16428233 → 16740729; SHA-256 hashes computed with the bundled helper for Linux x64, Windows x64, macOS x64, and macOS arm64, validating each download against the manifest SHA-1 and size. The higher emulator 37.3.6 is on channel-2 and was not selected; 37.2.13 is on channel-0.
  • Platform 37.2 r01 → r02; SHA-256 computed with the bundled helper and manifest verification.
  • Other catalog families match the published pins. Command-line tools remain at 23.0 / 16111833_latest; no new macOS-arm64 archive variant was added.
  • NDK pins and package entries were left unchanged. Platform API set/count (27 entries), distinct sources for every shipped stable platform, and archive/hash-specific extraction outputs were preserved.
Validation

Passed:

TMPDIR=/tmp/gh-aw/agent/ dotnet build build-tools/Xamarin.Android.Tools.BootstrapTasks/Xamarin.Android.Tools.BootstrapTasks.csproj -v:minimal
TMPDIR=/tmp/gh-aw/agent/ dotnet restore src/androidsdk/androidsdk.csproj
TMPDIR=/tmp/gh-aw/agent/ dotnet build src/androidsdk/androidsdk.csproj --no-restore -v:minimal -p:AndroidToolchainDirectory=/tmp/gh-aw/agent/android-toolchain -p:AndroidToolchainCacheDirectory=/tmp/gh-aw/agent/android-archives -p:AndroidSdkDirectory=/tmp/gh-aw/agent/android-toolchain/sdk -p:AndroidNdkDirectory=/tmp/gh-aw/agent/android-toolchain/ndk

The prerequisite build and full current-host SDK build completed with zero warnings and zero errors. XML parsing, git diff --check, and catalog invariants passed.

Production _ValidateAndroidSdkLicenses checks also passed: absent license/marker creates the pinned fingerprint and marker; a pre-existing unrelated valid fingerprint is preserved; malformed content is rejected without modifying the license file or creating the marker. Source inspection confirms cross-process locking and atomic replacement, with no Android CLI invoked for acceptance.

Failed:

TMPDIR=/tmp/gh-aw/agent/ JAVA_HOME=/tmp/gh-aw/agent/android-toolchain/jdk-25 ANDROID_HOME=/tmp/gh-aw/agent/android-toolchain/sdk GRADLE_USER_HOME=/tmp/gh-aw/agent/gradle-user-home build-tools/gradle/gradlew --no-daemon --console=plain -p /tmp/gh-aw/agent/sdk-license-check assembleDebug

The temporary Android library used Android Gradle Plugin 9.5.0, Build Tools 37.0.0, and platform android-37.2. Gradle exited with:

Could not determine the dependencies of task ':extractDebugAnnotations'.
Several environment variables and/or system properties contain different paths to the SDK.
Please correct and use only one way to inject the SDK location.
It is recommended to use ANDROID_HOME as other methods are deprecated.

ANDROID_HOME selected the task-local SDK while inherited ANDROID_SDK_ROOT selected a different SDK. Gradle recognition of the Build Tools/platform licenses therefore remains unverified. Per the workflow instructions, execution stopped rather than committing or opening a PR after failed validation.

Follow-up

Ensure the validation process has a single consistent SDK location (prefer ANDROID_HOME; remove the conflicting deprecated ANDROID_SDK_ROOT setting), then rerun the skill and all required validation. Task-created SDK, archive, Gradle, and compatibility-project artifacts were removed.

The mandatory open-PR check completed using REST pages 1 and 2 (38 PRs, then an empty page); no exact-title [skill-runner] update-androidsdk-packages match was found.

Workflow run: https://github.com/dotnet/android/actions/runs/41382761920

Generated by Skill Runner · copilot · gpt61 · 44.6 AIC · ⌖ 9.61 AIC · ⊞ 23.5K · ◷

  • expires on Dec 2, 2026, 3:32 AM UTC
主要言語
C#
スター
2.1k
フォーク
579
平均マージ
1日 17時間
マージ済み PR(30日)
256

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dotnet/android のほかの issue

dotnet/android の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。