Skip to content

Can not run with in a path containing Chinese character on windows with flutter 3.38 #178896

@liugangnhm

Description

@liugangnhm

Steps to reproduce

  • create a simple flutter app with windows os support with flutter 3.38
  • build (no matter debug or release)
  • rename debug/release with some Chinese characters
  • run

Expected results

lanch the app

Actual results

nothing happened

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
Rec.0001.mp4

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.38.0, on Microsoft Windows [Version 10.0.19045.6332], locale en-US) [292ms]
    • Flutter version 3.38.0 on channel stable at D:\Dev\flutters\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a0e9b9dbf7 (9 days ago), 2025-11-11 15:00:09 -0600
    • Engine revision cb467e31a5
    • Dart version 3.10.0 (build 3.10.0-290.4.beta)
    • DevTools version 2.51.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
    • Feature flags: enable-web, no-enable-linux-desktop, no-enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

[√] Windows Version (10 专业版 64-bit, 22H2, 2009) [3.0s]

[√] Android toolchain - develop for Android devices (Android SDK version 36.1.0-rc1) [7.4s]
    • Android SDK at D:\Dev\Android\SDK
    • Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
    • Platform android-36, build-tools 36.1.0-rc1
    • ANDROID_HOME = D:\Dev\Android\SDK
    • ANDROID_SDK_ROOT = D:\Dev\Android\SDK
    • Java binary at: C:\Users\lgnhm\AppData\Local\Programs\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 21.0.8+-14196175-b1038.72)
    • All Android licenses accepted.

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

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.17) [72ms]
    • Visual Studio at D:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.14.36603.0
    • Windows 10 SDK version 10.0.26100.0

[√] Proxy Configuration [87ms]
    • HTTP_PROXY is set
    • NO_PROXY is localhost,127.0.0.1,::1
    • NO_PROXY contains localhost
    • NO_PROXY contains ::1
    • NO_PROXY contains 127.0.0.1

[√] Connected device (3 available) [220ms]
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.6332]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 142.0.7444.176
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 142.0.3595.90

[√] Network resources [806ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: buildBuilding flutter applications with the toola: desktopRunning on desktopa: releaseChallenges faced when attempting to productionize an appc: regressionIt was better in the past than it is nowfound in release: 3.38Found to occur in 3.38found in release: 3.39Found to occur in 3.39has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyr: fixedIssue is closed as already fixed in a newer versionteam-engineOwned by Engine 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