Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 520 Vote(s) - 3.49 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waiting for another flutter command to release the startup lock

#1
When I run my flutter application it show

> Waiting for another flutter command to release the startup lock

this messages and not proceed further.
Reply

#2
This also happens when you have opened the flutter project in the Editor. Close the Editor and re-run the command
Reply

#3
Remove this file:

<YOUR FLUTTER FOLDER>/bin/cache/lockfile

This releases the occupied lock and makes you able to run other commands.
Reply

#4
Exit from your IDE, then from start manager stop all dart related files(if any have).
Then go to
`"FLUTTER DIRECTORY"/bin/cache/lockfile`
and delete this lockfile
Reply

#5
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.
Reply

#6
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
Reply

#7
If you are using Windows, you can open the task manager and under the 'Processes' tab search for processes named 'dart'. End all those tasks.
Reply

#8
In Windows :<br/>

Press: <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>Delete</kbd>

- In task manager find out your editor such as VS Studio or Android Studio
- In that Find "dart" and End that Task
- Then close your editor
- Open editor again
- let editor to complete all things, after that run your query that will work
Reply

#9
**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.
Reply

#10
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.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through