LoginSignup
15
1

More than 3 years have passed since last update.

FlutterでUnimplemented handling of missing static targetのエラー

Last updated at Posted at 2020-03-19

発生した問題

Flutterで以下のエラーが出て、進行不能になった。
コードを見返しても特に問題はなさそう。

Unimplemented handling of missing static target

環境

  • macOS Catalina 10.15.1
  • Android Studio 3.6.1
  • Flutter 1.12.13

結論

プロジェクトを再コンパイル(または以下のコマンドを入力)するだけでいけました。

flutter clean
flutter run

原因

main.dart のMyAppクラスを変更したことが原因でした。

ホットリロードが効くおかげで気づきにくいが、比較的大きな変更をしたときには再コンパイルを試していると良さそう。

参考記事

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