When I run my flutter application it show
Waiting for another flutter command to release the startup lock
this messages and not
try this instead For Window
TASKKILL //F //IM dart.exe
This worked!
thanks, Dear all for the right answer, I am using Flutter on Ubuntu
killall -9 dart
this command helps resolve this issue for me as well
I tried all previous suggestions but without benefit. Finally when I connect my pc to internet and wait flutter to release then 5 minutes solved
This also happens when you have opened the flutter project in the Editor. Close the Editor and re-run the command
You can remove flutter and "install again", so fastest way is to:
flutter
(as executable)To check it, you can run:
which flutter
And you can expect such output:
/your_user/your_path/flutter/bin/flutter
Above path is directly to flutter, but we would like to go to directory so "one earlier" in path:
cd /your_user/your_path/flutter/bin
git
repositoryIt should be, but it's worth to check.
Run one of the git command e.g.
git status
or
git branch
When it's git repository you will receive some info about it or correct list of branches.
rm -R *
git co -- .
You can run just flutter version
and commands should work (and Flutter will fetch some necessary data).