Flutter 多个编译错误ios/.symlinks/flatter/common/flatter\u patched\u sdk/stub\u ui/window.dart

Flutter 多个编译错误ios/.symlinks/flatter/common/flatter\u patched\u sdk/stub\u ui/window.dart,flutter,Flutter,我想我不知怎么弄坏了我的颤振装置。虽然没有做任何我认为与此相关的事情,但我突然在这个文件中发现了大量编译错误 ios/.symlinks/flatter/common/flatter\u patched\u sdk/stub\u ui/window.dart 有34个未定义的类错误。好像这个文件丢失了一些参考资料。我怎样才能修理它 error: Undefined class 'PointerDataPacket'. (undefined_class at [liga] ios/.symlink

我想我不知怎么弄坏了我的颤振装置。虽然没有做任何我认为与此相关的事情,但我突然在这个文件中发现了大量编译错误

ios/.symlinks/flatter/common/flatter\u patched\u sdk/stub\u ui/window.dart

有34个未定义的类错误。好像这个文件丢失了一些参考资料。我怎样才能修理它

error: Undefined class 'PointerDataPacket'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:14)
error: Undefined class 'ByteData'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:17)
error: Undefined class 'SemanticsAction'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:17)
error: Undefined class 'ByteData'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:23)
error: Undefined class 'ByteData'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:26)
error: The method 'hashValues' isn't defined for the class 'Locale'. (undefined_method at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:378)
error: Undefined class 'Size'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:441)
error: Undefined class 'Size'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:442)
error: Undefined name 'Size'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:442)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:497)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:500)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:548)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:551)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:570)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:573)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:609)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:612)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:636)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:639)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:658)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:661)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:675)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:678)
error: Undefined class 'Scene'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:750)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:768)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:771)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:784)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:787)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:800)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:803)
error: Undefined class 'SemanticsUpdate'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:813)
error: Undefined class 'ByteData'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:839)
error: Undefined class 'Zone'. (undefined_class at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:859)
error: Undefined name 'Zone'. (undefined_identifier at [liga] ios/.symlinks/flutter/common/flutter_patched_sdk/stub_ui/window.dart:862)
颤振医生输出-v

    • Flutter version 1.2.1 at /Users/darrelldavis/Development/Flutter/flutter
    • Framework revision 8661d8aecd (3 months ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/darrelldavis/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.33.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.26.0

[✓] Connected device (1 available)
    • iPhone Xʀ • 346FC64F-6915-41C3-98BF-3C3A86E55AAB • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!

Output from flutter analyze

Analyzing liga...                                                      ⣽                                                                                                      

   info • This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: MyApp._userModel •
          lib/app.dart:10:7 • must_be_immutable
   info • This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: PinEntryPage._pin •
          lib/pages/pin_entry_page.dart:4:7 • must_be_immutable

2 issues found. (ran in 4.0s)


您是否可以发布
flatter doctor-v
flatter analyze
的输出,并添加请求的输出。此处存在相同的问题。你找到解决方案了吗?没有解决方案。我在这个项目上提出了一个问题,但由于我是唯一一个受到影响的人,所以没有得到太多的关注。添加一条评论,尽可能添加其他信息,也许会有所帮助。您是否可以发布
flatter doctor-v
flatter analyze
的输出,并添加请求的输出。此处存在相同的问题。你找到解决方案了吗?没有解决方案。我在这个项目上提出了一个问题,但由于我是唯一一个受到影响的人,所以没有得到太多的关注。添加一条评论,尽可能添加其他信息,也许会有所帮助。