'Cannot create a project within the Flutter SDK. Target directory 'C:\src\flutter\test_instalasi_flutter' is within the Flutter SDK at 'C:\src\flutter'
[test_instalasi_flutter] flutter create --template app --overwrite . Cannot create a project within the Flutter SDK. Target directory 'C:\src\flutter\test_instalasi_flutter' is within the Flutter SDK at 'C:\src\flutter'. exit code 2
hi! i'm newbie, please help me. when creating a new Flutter in visual studio code, the library folder doesn't show up. But when I create a new Dart library it exists and appears, how do you flutter it ?. thank you
Solution 1:[1]
Just change your directory different than the FLUTTER SDK directory (don't use this: C:\src\flutter)
Solution 2:[2]
Just change the location where you're saving the project( Save it to a new directory) and you'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | GNassro |
| Solution 2 | Aryaman-Arya |
