LoginSignup
0
2

More than 1 year has passed since last update.

【Flutter】Error: The getter 'addressOf' isn't defined for the class 'xxx'.の対処法

Last updated at Posted at 2021-06-14

エラー内容

しばらく使っていないプロジェクトをビルドしようとしたところ、

Error: The getter 'addressOf' isn't defined for the class 'xxx'

というエラー文が表示されてしまいました。

解決策

  • .ideaフォルダ、buildフォルダ、pubspec.lockファイルの削除
  • flutter pub get

を行う。

動作環境

[✓] Flutter (Channel stable, 2.2.0, on macOS 11.2.3 20D91 darwin-x64, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Connected device (3 available)
    ! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)

• No issues found!

Dart 2.13.0
0
2
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
2