flutter upgrade
fails because a file is locked from another process (flutter on android studio iguana)
#145107
Labels
r: duplicate
Issue is closed as a duplicate of an existing issue
Whenever upgrading with "flutter upgrade" or "flutter upgrade --force" in flutter channel main, the upgrade process fails with following message, which seems recursive:
Only remedy seems to stop Android Studio, restart it and check channel wih
flutter channel
, this seems to reinit and reload the channel:Checking it again with
flutter doctor -v
seems to give the correct (latest) update:Is there a known issue with this file locking situation, or may it be an Anti Virus issue ? (using Windows Defender)
Have seen similar issues with stable channel and beta channel too...
Same behavior on my home office computer and work office computer (both latest Windows 11, home 16GB, work 32GB, both Core i7).
The text was updated successfully, but these errors were encountered: