Waiting for another flutter command to release the

2020-02-16 06:17发布

When I run my flutter application it show

Waiting for another flutter command to release the startup lock

this messages and not proceed further.

16条回答
Summer. ? 凉城
2楼-- · 2020-02-16 06:42

I also faced same issue i followed the best and the easiest way

Environment : Windows

IDE : Android Studio

Tools>flutter(last option)> select flutter clean

after flutter clean finished you all set and good to go.

查看更多
\"骚年 ilove
3楼-- · 2020-02-16 06:43

In Android Studio, It's Work for me

Stop your app if it still runs on the phone or disconnect the your testing device.

Then try to install the package again.

查看更多
Juvenile、少年°
4楼-- · 2020-02-16 06:44

Restart your IDE first and then run the following command in project folder from terminal

killall -9 dart

It worked for me. Hope it will help some of the guys facing the same problem.

查看更多
狗以群分
5楼-- · 2020-02-16 06:46

I use a Mac with Visual Studio Code and this is what worked:

Shutdown your PC and switch it on again. Don't use the restart function. I restarted 2 times and it didn't work. Only shutdown worked.

PS: I tried out the following:

  1. Delete lockfile;
  2. Run killall -9 dart;
  3. Restart my PC.

But they all didn't work.

查看更多
甜甜的少女心
6楼-- · 2020-02-16 06:49

There are some action to do:

1- in pubspec.yaml press "packages get" or in terminal type " flutter packages get" and wait seconds.

if this doesn't work :

2-type flutter clean then do step(1)

if this doesn't work too :

3-type killtask /f /im dart.exe

if this doesn't work too :

4- close android studio and then restart your pc.

查看更多
淡お忘
7楼-- · 2020-02-16 06:51

Just type this on android studio terminal and will work again!

flutter run

:)

查看更多
登录 后发表回答