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
I am using version 0.7.2 and facing an error as following:
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:9:6: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.g.dart': The system cannot find the file specified.
part 'devices.g.dart';
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:9:6: Error: Can't use '../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.g.dart' as a part, because it has no 'part of' declaration.
part 'devices.g.dart';
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:88:38: Error: Getter not found: '_allDevices'.
static List get all => _allDevices;
^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:92:5: Error: Getter not found: '_allDevices'.
_allDevices.firstWhere(
^^^^^^^^^^^
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\Users\Administrator\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.
I am using version 0.7.2 and facing an error as following:
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:9:6: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.g.dart': The system cannot find the file specified.
part 'devices.g.dart';
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:9:6: Error: Can't use '../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.g.dart' as a part, because it has no 'part of' declaration.
part 'devices.g.dart';
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:88:38: Error: Getter not found: '_allDevices'.
static List get all => _allDevices;
^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/device_frame-0.4.1/lib/src/devices.dart:92:5: Error: Getter not found: '_allDevices'.
_allDevices.firstWhere(
^^^^^^^^^^^
FAILURE: Build failed with an exception.
Where:
Script 'C:\Users\Administrator\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035
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 47s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
The text was updated successfully, but these errors were encountered: