07-21-2023, 09:18 PM
I have tried all of below steps, but none worked.
1. Delete lockfile;
2. Run `killall -9 dart;`
3. Restart my PC.
Below is the final command that worked for me
```
rm -rf <flutter_dir>bin/cache/.upgrade_lock
```
1. Delete lockfile;
2. Run `killall -9 dart;`
3. Restart my PC.
Below is the final command that worked for me
```
rm -rf <flutter_dir>bin/cache/.upgrade_lock
```