1
0

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 1 year has passed since last update.

Flutter: database is locked Possibly there are two concurrent builds running in the same filesystem location

Last updated at Posted at 2022-07-18

Flutterのアプリを実行した際

Flutter: database is locked Possibly there are two concurrent builds running in the same filesystem location

このようなエラーが発生

調べてみるとM1 Mac bookで同じエラーに遭遇した人がいたのでそれを参考にしました
参考文献:https://stackoverflow.com/questions/71606334/flutter-database-is-locked-possibly-there-are-two-concurrent-builds-running-in

手順1:iosディレクトリにあるPodfile.lockを削除する

手順2:プロジェクトディレクトリにて以下コマンドを実行

$sudo arch -x86_64 gem install ffi 

手順3:

$cd ios 

手順4:

$arch -x84_64 pod install 

ぜひ試してみて下さい。

1
0
0

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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?