You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Gradle task 'assembleDebug'...
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1417:48: Error: Undefined name 'DragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1417:13: Error: No named parameter with the name 'dragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
/Volumes/Res/Library/flutter/packages/flutter/lib/src/widgets/drag_target.dart:162:9: Context: Found this candidate, but the arguments don't match.
const Draggable({
^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1463:48: Error: Undefined name 'DragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1463:13: Error: No named parameter with the name 'dragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
/Volumes/Res/Library/flutter/packages/flutter/lib/src/widgets/drag_target.dart:393:9: Context: Found this candidate, but the arguments don't match.
const LongPressDraggable({
^^^^^^^^^^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1838:31: Error: Method not found: 'FocusTrap'.
'FocusTrap': (props) => FocusTrap(
^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1843:35: Error: Method not found: 'FocusTrapArea'.
'FocusTrapArea': (props) => FocusTrapArea(
^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Volumes/Res/Library/flutter/bin/flutter'' 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.
Running Gradle task 'assembleDebug'...
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1417:48: Error: Undefined name 'DragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1417:13: Error: No named parameter with the name 'dragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
/Volumes/Res/Library/flutter/packages/flutter/lib/src/widgets/drag_target.dart:162:9: Context: Found this candidate, but the arguments don't match.
const Draggable({
^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1463:48: Error: Undefined name 'DragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1463:13: Error: No named parameter with the name 'dragAnchor'.
dragAnchor: props['dragAnchor'] ?? DragAnchor.child,
^^^^^^^^^^
/Volumes/Res/Library/flutter/packages/flutter/lib/src/widgets/drag_target.dart:393:9: Context: Found this candidate, but the arguments don't match.
const LongPressDraggable({
^^^^^^^^^^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1838:31: Error: Method not found: 'FocusTrap'.
'FocusTrap': (props) => FocusTrap(
^^^^^^^^^
../flutter_version/flutter_3_3_0/lib/src/widgets/$$w.dart:1843:35: Error: Method not found: 'FocusTrapArea'.
'FocusTrapArea': (props) => FocusTrapArea(
^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script '/Volumes/Res/Library/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1151
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
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 5s
Exception: Gradle task assembleDebug failed with exit code 1
我本地的flutter SDK 如下:
admin@admindeMacBook-Pro example % flutter --version
Flutter 3.7.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 90c64ed42b (3 days ago) • 2023-03-21 11:27:08 -0500
Engine • revision 9aa7816315
Tools • Dart 2.19.5 • DevTools 2.20.1
The text was updated successfully, but these errors were encountered: