После последнего обновления флаттера - проект не строится - PullRequest
2 голосов
/ 07 апреля 2020

Во всех проектах при строительстве - сталкивается с этой ошибкой. После обновления флаттера я сталкиваюсь с этой ошибкой. Я пытался со всеми обновлениями и аннулировать кеш и все - но при запуске проекта обнаружил это исключение.

[+37924 ms] 
            Compiler message:
[   +6 ms] /D:/FlutterSDK/flutter_windows_v1.5.4-hotfix.2-stable/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-0.7.2/lib/src/gesture/extended_image_slide_page_route.dart:333:9: Error: No named parameter with the name 'animation'.
[   +1 ms]         animation: animation,
[   +1 ms]         ^^^^^^^^^
[        ] /D:/FlutterSDK/flutter_windows_v1.5.4-hotfix.2-stable/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments don't match.
[        ]   CupertinoFullscreenDialogTransition({
[   +1 ms]   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[+96166 ms] Compiler message:
[        ] /D:/FlutterSDK/flutter_windows_v1.5.4-hotfix.2-stable/flutter/.pub-cache/hosted/pub.dartlang.org/extended_image-0.7.2/lib/src/gesture/extended_image_slide_page_route.dart:333:9: Error: No named parameter with the name 'animation'.
[        ]         animation: animation,
[        ]         ^^^^^^^^^
[        ] /D:/FlutterSDK/flutter_windows_v1.5.4-hotfix.2-stable/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments don't match.
[        ]   CupertinoFullscreenDialogTransition({
[        ]   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[+13876 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
[   +1 ms] build failed.
[ +618 ms] FAILURE: Build failed with an exception.
[  +14 ms] * Where:
[        ] Script 'D:\FlutterSDK\flutter_windows_v1.5.4-hotfix.2-stable\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 883
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command 'D:\FlutterSDK\flutter_windows_v1.5.4-hotfix.2-stable\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 2m 28s
...