当在VScode中执行Flutter: New Project,报了下面的错误:
[undefined] flutter create . Waiting for another flutter command to release the startup lock... Cannot create a project within the Flutter SDK. Target directory 'M:\flutter\testApp\myapp' is within the Flutter SDK at 'M:\flutter'. exit code 1
我的解决方法:
你新建的项目地址,不要再建立在flutter的配置文件夹目录下面!要单独建立在外面。
成功run