یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دوره‌ها

استفاده از تخفیف‌ها
ثانیه
دقیقه
ساعت
روز
محمد امین عالی
5 سال پیش توسط محمد امین عالی مطرح شد
0 پاسخ

مشکل در ران کردن

سلام دوستان من فلاتر خودم آپدیت کردم و این ارور میده وقتی ران میکنم

Compiler message:
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:7:8: Error: Error when reading '/C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/collection.dart': The system cannot find the path specified.

import 'package:collection/collection.dart';
       ^
/C:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:7:8: Error: Error when reading '/C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/collection.dart': The system cannot find the path specified.

import 'package:collection/collection.dart';
       ^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:10:8: Error: Error when reading '/C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/collection.dart': The system cannot find the path specified.

import 'package:collection/collection.dart' show PriorityQueue, HeapPriorityQueue;
       ^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:9: Error: Type 'PriorityQueue' not found.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
        ^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:9: Error: Expected 0 type arguments.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
        ^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:464:5: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:504:5: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) => a.rect.center.dx.compareTo(b.rect.center.dx));
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:529:5: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) => a.rect.center.dy.compareTo(b.rect.center.dy));
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:717:9: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
        mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) {
        ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:749:9: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
        mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) {
        ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:847:5: Error: Method not found: 'mergeSort'.
    mergeSort<_ReadingOrderSortData>(list, compare: (_ReadingOrderSortData a, _ReadingOrderSortData b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:920:5: Error: Method not found: 'mergeSort'.
    mergeSort<_ReadingOrderDirectionalGroupData>(list, compare: (_ReadingOrderDirectionalGroupData a, _ReadingOrderDirectionalGroupData b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:1001:5: Error: The method 'mergeSort' isn't defined for the class 'ReadingOrderTraversalPolicy'.
 - 'ReadingOrderTraversalPolicy' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<_ReadingOrderSortData>(candidates, compare: (_ReadingOrderSortData a, _ReadingOrderSortData b) => a.rect.top.compareTo(b.rect.top));
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:1349:5: Error: The method 'mergeSort' isn't defined for the class 'OrderedTraversalPolicy'.
 - 'OrderedTraversalPolicy' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<_OrderedFocusInfo>(ordered, compare: (_OrderedFocusInfo a, _OrderedFocusInfo b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:81:22: Error: The method 'UnmodifiableSetView' isn't defined for the class 'KeySet<T>'.
 - 'KeySet' is from 'package:flutter/src/widgets/shortcuts.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart').
Try correcting the name to the name of an existing method, or defining a method named 'UnmodifiableSetView'.
  Set<T> get keys => UnmodifiableSetView<T>(_keys);
                     ^^^^^^^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:9: Error: 'PriorityQueue' isn't a type.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
        ^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:57: Error: Method not found: 'HeapPriorityQueue'.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
                                                        ^^^^^^^^^^^^^^^^^

Compiler message:
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:7:8: Error: Error when reading '/C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/collection.dart': The system cannot find the path specified.

import 'package:collection/collection.dart';
       ^
/C:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:7:8: Error: Error when reading '/C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/collection.dart': The system cannot find the path specified.

import 'package:collection/collection.dart';
       ^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:10:8: Error: Error when reading '/C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/collection.dart': The system cannot find the path specified.

import 'package:collection/collection.dart' show PriorityQueue, HeapPriorityQueue;
       ^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:9: Error: Type 'PriorityQueue' not found.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
        ^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:9: Error: Expected 0 type arguments.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
        ^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:464:5: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:504:5: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) => a.rect.center.dx.compareTo(b.rect.center.dx));
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:529:5: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) => a.rect.center.dy.compareTo(b.rect.center.dy));
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:717:9: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
        mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) {
        ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:749:9: Error: The method 'mergeSort' isn't defined for the class 'DirectionalFocusTraversalPolicyMixin'.
 - 'DirectionalFocusTraversalPolicyMixin' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
        mergeSort<FocusNode>(sorted, compare: (FocusNode a, FocusNode b) {
        ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:847:5: Error: Method not found: 'mergeSort'.
    mergeSort<_ReadingOrderSortData>(list, compare: (_ReadingOrderSortData a, _ReadingOrderSortData b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:920:5: Error: Method not found: 'mergeSort'.
    mergeSort<_ReadingOrderDirectionalGroupData>(list, compare: (_ReadingOrderDirectionalGroupData a, _ReadingOrderDirectionalGroupData b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:1001:5: Error: The method 'mergeSort' isn't defined for the class 'ReadingOrderTraversalPolicy'.
 - 'ReadingOrderTraversalPolicy' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<_ReadingOrderSortData>(candidates, compare: (_ReadingOrderSortData a, _ReadingOrderSortData b) => a.rect.top.compareTo(b.rect.top));
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart:1349:5: Error: The method 'mergeSort' isn't defined for the class 'OrderedTraversalPolicy'.
 - 'OrderedTraversalPolicy' is from 'package:flutter/src/widgets/focus_traversal.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/focus_traversal.dart').
Try correcting the name to the name of an existing method, or defining a method named 'mergeSort'.
    mergeSort<_OrderedFocusInfo>(ordered, compare: (_OrderedFocusInfo a, _OrderedFocusInfo b) {
    ^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart:81:22: Error: The method 'UnmodifiableSetView' isn't defined for the class 'KeySet<T>'.
 - 'KeySet' is from 'package:flutter/src/widgets/shortcuts.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/shortcuts.dart').
Try correcting the name to the name of an existing method, or defining a method named 'UnmodifiableSetView'.
  Set<T> get keys => UnmodifiableSetView<T>(_keys);
                     ^^^^^^^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:9: Error: 'PriorityQueue' isn't a type.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
        ^^^^^^^^^^^^^
/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart:375:57: Error: Method not found: 'HeapPriorityQueue'.
  final PriorityQueue<_TaskEntry<dynamic>> _taskQueue = HeapPriorityQueue<_TaskEntry<dynamic>>(_taskSorter);
                                                        ^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\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 15s
Exception: Gradle task assembleDebug failed with exit code 1

لطفا کمکم کنید
سپاس


ثبت پرسش جدید

به همدیگه کمک کنیم

به محمد امین عالی کمک کنید تا مشکل خودش را حل کند؛ این‌طور می‌توانیم با هم پیشرفت کنیم.

برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام