当遇到在AS新建Flutter工程时,AS假死/无响应,
1.打开终端,输入“flutter doctor”,as即有响应,疑似进程锁的问题,我的flutter的SDK安装在根目录下。
2.如果1方法无效,可以尝试重启AS,手动关闭flutter以及Dart插件,重启再打开AS尝试。
参考:Could not issue any flutter commands due to "startup lock" · Issue #7768 · flutter/flutter · GitHub
当遇到在AS新建Flutter工程时,AS假死/无响应,
1.打开终端,输入“flutter doctor”,as即有响应,疑似进程锁的问题,我的flutter的SDK安装在根目录下。
2.如果1方法无效,可以尝试重启AS,手动关闭flutter以及Dart插件,重启再打开AS尝试。
参考:Could not issue any flutter commands due to "startup lock" · Issue #7768 · flutter/flutter · GitHub