Skip to content

Running Flutter on 64-bit Windows from a 32-bit Process fails #174017

@SvenGasterstaedt

Description

@SvenGasterstaedt

Steps to reproduce

  1. run flutter from a 32-bit process on windows (e.g. make for windows only comes with 32-bit)

Expected results

Successful execution as we are on a 64-bit system, just a 32-bit process invoked flutter.

When the PROCESSOR_ARCHITECTURE is checked we must check PROCESSOR_ARCHITEW6432 in order to determine the real architecture of the system.

Actual results

The output is

Flutter requires 64-bit versions of Windows

Code sample

#171925

REM Ensure we are runnng on 64-bit windows (32-bit is not supported)
IF "%PROCESSOR_ARCHITECTURE%"=="x86" (
  ECHO Flutter requires 64-bit versions of Windows
  EXIT 1
)

Screenshots or Video

No response

Logs

make
flutter doctor -v
Flutter requires 64-bit versions of Windows

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.35.1, on Microsoft Windows [Version 10.0.26100.4946], locale de-DE) [515ms]
    • Flutter version 3.35.1 on channel stable at C:\Users\User\tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 20f8274939 (5 days ago), 2025-08-14 10:53:09 -0700
    • Engine revision 1e9a811bf8
    • Dart version 3.9.0
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, enable-custom-devices, cli-animations, enable-lldb-debugging

[✓] Windows Version (11 Pro 64-bit, 24H2, 2009) [1.305ms]

[✗] Android toolchain - develop for Android devices [270ms]
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[✓] Chrome - develop for the web [221ms]
    • Chrome at C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.14.12) [220ms]
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
    • Visual Studio Professional 2022 version 17.14.36408.4
    • Windows 10 SDK version 10.0.26100.0

[!] Android Studio (not installed) [88ms]
    • 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).

[✓] IntelliJ IDEA Ultimate Edition (version 2025.2) [87ms]
    • IntelliJ at C:\Users\User\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin version 87.0
    • Dart plugin version 252.24322.5

[✓] Connected device (3 available) [182ms]
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.4946]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 138.0.7204.49
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 139.0.3405.86

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

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: regressionIt was better in the past than it is nowfyi-windowsFor the attention of the Windows platform teamplatform-windowsBuilding on or for Windows specificallyteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions