flutter / flutter/flutter-intellij
Inconsistent/wrong behavior when creating project in Folder with "-"
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
## Steps to Reproduce
1. In Android Studio, select "File" > "New" > "New Flutter Project"
2. On the page where you select the project name and the folder, enter "my_project" in the "Project Name" and "C:\my-project" as the folder name
3. Click "Finish"
=> An error will now pop up saying that the project name can't contain "-", even though the project name does not actually contain "-"
1. In Android Studio, select "File" > "New" > "New Flutter Project"
2. On the page where you select the project name and the folder, enter "my_project" in the "Project Name" and use the [...] button to the right to select a previously created "my-folder" Folder
3. Click "Finish"
=> Even though the fields are now filled with the same values as before, this will work without problems
## Version info
C:\Users\IV0308>flutter doctor -v
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.19044.2486], locale de-DE)
• Flutter version 3.3.10 on channel stable at C:\sdks\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 135454af32 (6 weeks ago), 2022-12-15 07:36:55 -0800
• Engine revision 3316dd8728
• Dart version 2.18.6
• DevTools version 2.15.0
Android Studio Dolphin | 2021.3.1 Patch 1
Contributor guide
Assessment
This issue has not been assessed yet.