-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_error_v2.txt
More file actions
44 lines (37 loc) · 2.37 KB
/
build_error_v2.txt
File metadata and controls
44 lines (37 loc) · 2.37 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
Running Gradle task 'assembleRelease'...
flutter : lib/screens/home/dashboard_screen.
dart:467:39: Error: Not a constant
expression.
At line:1 char:1
+ flutter build apk > build_error_v2.txt
2>&1
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified:
(lib/screens/hom...ant expression.:Str
ing) [], RemoteException
+ FullyQualifiedErrorId : NativeCommand
Error
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 12s
Running Gradle task 'assembleRelease'... 12.3s
Gradle task assembleRelease failed with
exit code 1