-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_error_v4.txt
More file actions
52 lines (45 loc) · 2.97 KB
/
build_error_v4.txt
File metadata and controls
52 lines (45 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Running Gradle task 'assembleRelease'...
flutter : lib/screens/home/dashboard_screen.
dart:467:39: Error: The getter 'AppAssets'
isn't defined for the type
'_DashboardScreenState'.
At line:1 char:1
+ flutter build apk > build_error_v4.txt
2>&1
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified:
(lib/screens/hom...rdScreenState'.:Str
ing) [], RemoteException
+ FullyQualifiedErrorId : NativeCommand
Error
- '_DashboardScreenState' is from 'package:
nutriguid_app/screens/home/dashboard_screen.
dart'
('lib/screens/home/dashboard_screen.dart').
Try correcting the name to the name of an
existing getter, or defining a getter or
field named 'AppAssets'.
image:
AssetImage(AppAssets.imgSleep),
^^^^^^^^^
Target kernel_snapshot_program failed:
Exception
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task
':app:compileFlutterBuildRelease'.
> 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 13s
Running Gradle task 'assembleRelease'... 13.7s
Gradle task assembleRelease failed with
exit code 1