Skip to content

Flutter throws Failed to create parent directory error when building for android if space in the user folder name after upgrading to flutter 3.32.0, dart 3.8.0 #169394

@Muhammad-Radwan

Description

@Muhammad-Radwan

Steps to reproduce

build the app on android

Expected results

the app should run normally

Actual results

fialed to create root directory 'C:\Users\Mohammed\ Radwan' when creating directory 'C:\Users\Mohammed\ Radwan\source\repos\seeless_gym\build\app\intermediates\flutter\debug\flutter_assets'

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

Labels

Bot is counting down the days until it unassigns the issueP2Important issues not at the top of the work listfyi-androidFor the attention of Android platform teamplatform-windowsBuilding on or for Windows specificallyteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamworkaround availableThere is a workaround available to overcome the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions