Waiting for another flutter command to release the startup lock

后端 未结 30 3125
暗喜
暗喜 2020-12-12 09:20

When I run my flutter application it show

Waiting for another flutter command to release the startup lock

this messages and not

相关标签:
30条回答
  • 2020-12-12 10:00

    It seems like a network issue. I turned off my wi-fi and connected my laptop on a 4G connection by my phone an it works in 5,9s

    0 讨论(0)
  • 2020-12-12 10:01

    Nothing of ALL these answers didn't helped me.

    The only one solution was to remove whole flutter stuff (and reinstall flutter from git):

    <flutter directory>
    <user>/.flutter_tool_state
    <user>/.dart
    <user>/.pub-cache
    <user>/.dartServer
    <user>/.flutter
    
    0 讨论(0)
  • 2020-12-12 10:02

    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.

    0 讨论(0)
  • 2020-12-12 10:03
    1. Turn off Android Studio.

    2. Open flutter installation directory /bin/cache.

    3. Delete lockfile.

    4. At this point, you can execute the flutter related command on the command line to solve the problem perfectly.

    0 讨论(0)
  • 2020-12-12 10:04

    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.

    0 讨论(0)
  • 2020-12-12 10:04

    Did most of the previous solutions but it didn't work for me so i just left the laptop connected to the internet with VS-code opened then i switched if off for a while and put it back on and it worked

    0 讨论(0)
提交回复
热议问题