Resolving dependencies...
Pub failed to delete entry because it was in use by another process.
This may be caused by a virus scanner or having a file
in the directory open in another application.
pub get failed
command: "D:\work_soft\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --color --directory . get --example"
pub env: {
"FLUTTER_ROOT": "D:\work_soft\flutter",
"PUB_ENVIRONMENT": "flutter_cli:get",
"PUB_CACHE": "C:\Users\Admin\AppData\Local\Pub\Cache",
}
exit code: 1
只需用管理员模式打开Vscode或者别的IDE然后再在终端输入
start ms-settings:developers
就能够解决该问题