Skip to content

[Bug][3.38.2]: flutter reports incorrect version number after flutter upgrade on Windows, but framework revision is updated #178772

@Predidit

Description

@Predidit

Steps to reproduce

  1. On a Windows machine, start with Flutter SDK version 3.38.1 on the stable channel. The latest version available is 3.38.2.
  2. Open a terminal (e.g., PowerShell).
  3. Run the command flutter upgrade and let it complete.
  4. After the process finishes, run flutter doctor -v.

Expected results

After a successful flutter upgrade, running flutter doctor -v should show that the Flutter version is updated to 3.38.2, and the framework revision should correspond to this new version (e.g., f5a8537).

Actual results

The flutter doctor -v command reports a mismatch:

The Flutter version is still reported as the old version, 3.38.1.
The Framework revision is b45fa18, which corresponds to version 3.38.1.
However, the output also states that this version was released "14 hours ago," which aligns with the release time of the new version 3.38.2, not 3.38.1.

Windows Flutter Doctor output
[✓] Flutter (Channel stable, 3.38.1, on Microsoft Windows [版本 10.0.26200.6899], locale zh-CN) [226ms]
    • Flutter version 3.38.1 on channel stable at D:\Dev\Environment\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b45fa18946 (14 hours ago), 2025-11-12 22:09:06 -0600
    • Engine revision b5990e5ccc
    • Dart version 3.10.0
    • DevTools version 2.51.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
      enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

[✓] Windows Version (11 家庭中文版 64-bit, 25H2, 2009) [592ms]

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [1,210ms]
    • Android SDK at C:\Users\Predidit\AppData\Local\Android\Sdk
    • Emulator version 34.2.16.0 (build_id 12038310) (CL:N/A)
    • Platform android-36, build-tools 35.0.0
    • ANDROID_HOME = C:\Users\Predidit\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web [64ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.5) [63ms]
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.10.35122.118
    • Windows 10 SDK version 10.0.22621.0

[✓] Connected device (3 available) [114ms]
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.26200.6899]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 142.0.7444.163
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 142.0.3595.90

[✓] Network resources [415ms]
    • All expected network resources are available.

• No issues found!

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    infra: releaseRelease-related requests and toolingplatform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionteam-infraOwned by Infrastructure team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions