22
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

flutterコマンドを打った時に"Waiting for another flutter command to release the startup lock..."が出た時の対処法

Posted at

Flutterでアプリ開発中に flutter run を打つと、以前に起動した時のロックがかかっていて次のようなエラーが出ることがあります。

Waiting for another flutter command to release the startup lock...

コードで言うとこのあたりで、中を読むとわかりますが $flutter_root/bin/cache/lockfile が残っていることが原因です。
一応プロセスが残っていないことを確認してからこれをrmすればOKです。

以上。

22
9
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
22
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?