-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Open
Labels
fyi-windowsFor the attention of the Windows platform teamFor the attention of the Windows platform teamplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to reproduce
- Setup a project with GitHub actions
- Push a commit
The shorted build.yaml:
windows:
name: Windows
runs-on: windows-2022
steps:
[...]
- name: Build App
id: build
run: |
call flutter config --no-analytics --no-cli-animations
call flutter doctor -v
call flutter build windows --build-number=%FLUTTER_BUILD_NUMBER% -v
timeout-minutes: 15 # takes normally about 8 minutes
shell: cmd
env:
FLUTTER_BUILD_NUMBER: 6338
Actual results
The build hangs at the output "Resolving dependencies..."
Logs
Logs
Run call flutter config --no-analytics --no-cli-animations
call flutter config --no-analytics --no-cli-animations
call flutter doctor -v
call flutter build windows --build-number=%FLUTTER_BUILD_NUMBER% -v
shell: C:\Windows\system32\cmd.EXE /D /E:ON /V:OFF /S /C "CALL "{0}""
env:
SSH_AUTH_SOCK: /tmp/ssh-EoZxEJ5FA6kZ/agent.953
SSH_AGENT_PID: 954
JAVA_HOME: C:\hostedtoolcache\windows\Java_Zulu_jdk\17.0.15-6\x64
JAVA_HOME_17_X64: C:\hostedtoolcache\windows\Java_Zulu_jdk\17.0.15-6\x64
FLUTTER_ROOT: C:\hostedtoolcache\windows\flutter\stable-3.29.3-x64
PUB_CACHE: C:\Users\runneradmin\AppData\Local\Pub\Cache
FLUTTER_BUILD_NUMBER: 6338
Building flutter tool...
Running pub upgrade...
Resolving dependencies...
Downloading packages...
Got dependencies.
╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.dev/ ║
║ [...] ║
╚════════════════════════════════════════════════════════════════════════════╝
Analytics reporting disabled.
Setting "cli-animations" value to "false".
You may need to restart any open editors for them to read new settings.
[doctor output below]
[ +66 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[...]
[ +85 ms] executing: [D:\a\app\app/] C:\hostedtoolcache\windows\flutter\stable-3.29.3-x64\bin\cache\dart-sdk\bin\dart pub --suppress-analytics --directory . get --example
Resolving dependencies...
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.29.3, on Microsoft Windows [Version 10.0.20348.3807], locale en-US) [1,337ms]
• Flutter version 3.29.3 on channel stable at C:\hostedtoolcache\windows\flutter\stable-3.29.3-x64
• Upstream repository ssh://git@github.com/flutter/flutter.git
• Framework revision ea121f8859 (3 months ago), 2025-04-11 19:10:07 +0000
• Engine revision cf56914b32
• Dart version 3.7.2
• DevTools version 2.42.3
[√] Windows Version (Server 2022 Datacenter 64-bit, 21H2, 2009) [3.2s]
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [15.1s]
• Android SDK at C:\Android\android-sdk
• Platform android-36, build-tools 36.0.0
• ANDROID_HOME = C:\Android\android-sdk
• ANDROID_SDK_ROOT = C:\Android\android-sdk
• Java binary at: C:\hostedtoolcache\windows\Java_Zulu_jdk\17.0.15-6\x64\bin\java
This JDK is specified by the JAVA_HOME environment variable.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment Zulu17.58+25-CRaC-CA (build 17.0.15+6-LTS)
• All Android licenses accepted.
[√] Chrome - develop for the web [678ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.14.5) [677ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
• Visual Studio Enterprise 2022 version 17.14.36203.30
• Windows 10 SDK version 10.0.26100.0
[!] Android Studio (not installed) [43ms]
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
[√] Connected device (2 available) [6.1s]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.20348.3807]
• Chrome (web) • chrome • web-javascript • unknown
[√] Network resources [850ms]
• All expected network resources are available.
! Doctor found issues in 1 category.
shammond42
Metadata
Metadata
Assignees
Labels
fyi-windowsFor the attention of the Windows platform teamFor the attention of the Windows platform teamplatform-windowsBuilding on or for Windows specificallyBuilding on or for Windows specificallyteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.