0
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 5 years have passed since last update.

【Flutter】multi_image_pickerのカメラがクラッシュする不具合

Posted at

Flutterで複数画像が選択できるパッケージ「multi_image_picker」でカメラが動かない(アプリが停止する)現象があったのでその原因メモ。

結論

・multi_image_picker
・image_picker_flutter

上記のパッケージを併用してると発生する模様。
pubspec.yamlに追記しただけで、実際はimage_picker_flutterの方はどこでもimportしておらず機能も使ってなかったが、パッケージが併存しているだけでNGな模様。
image_picker_flutterをpubspec.yamlから削除してPackage upgradeをかけてやれば解消した。

以上

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