阅读背景:

Error: Getter not found: 'suspending'. case AppLifecycleState.suspending

来源:互联网 

升级flutter到1.12后遇到下面的错误

Compiler message:
/C:/flutter_112/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_lifecycle_state-1.0.0/lib/flutter_lifecycle_state.dart:80:30: Error: Getter not found: 'suspending'.
      case AppLifecycleState.suspending:
                             ^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter_112\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780Compiler mes



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: