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
0:00:00.003882: Started building UriTranslator in 3ms.
0:00:00.004535: Read libraries file in 0ms.
0:00:00.007827: Read packages file in 2ms.
0:00:00.085345: Indexed 18 libraries (0 bytes) in 76.799ms, that is,
0.000 bytes/ms, and
4.267 ms/libraries.
Enabling colors as OS is Windows.
.vm.product=true: Error: Error when reading '.vm.product=true': The system cannot find the file specified.
0:00:00.109495: Built outlines for 1 compilation units (89 bytes) in 19.970ms, that is,
4.457 bytes/ms, and
19.970 ms/compilation unit.
0:00:00.129146: Resolved parts in 15ms.
0:00:00.130004: Applied patches in 0ms.
0:00:00.132395: Computed library scopes in 1ms.
0:00:00.133166: Resolved 0 types in 0ms.
0:00:00.134630: Computed variances of 0 type variables in 0ms.
0:00:00.135260: Computed default types for 0 type variables in 0ms.
0:00:00.166463: Checked class hierarchy in 30ms.
0:00:00.167558: Resolved 0 type-variable bounds in 0ms.
0:00:00.168314: Built component in 0ms.
0:00:00.168942: Installed Object as implicit superclass in 0ms.
0:00:00.169684: Installed synthetic constructors in 0ms.
0:00:00.170480: Resolved 0 constructors in 0ms.
0:00:00.171258: Linked component in 0ms.
0:00:00.172842: Computed core types in 0ms.
0:00:00.173468: Built class hierarchy in 0ms.
0:00:00.174145: Checked supertypes in 0ms.
0:00:00.174752: Built class hierarchy members in 0ms.
0:00:00.180789: Computed class hierarchy in 5ms.
0:00:00.181673: Computed show and hide elements in 0ms.
0:00:00.182451: Performed top level inference in 0ms.
0:00:00.183290: Checked 0 overrides in 0ms.
0:00:00.183907: Checked for restricted members inheritance in enums. in 0ms.
0:00:00.184524: Finished initializing formals in 0ms.
0:00:00.185125: Computed 0 combined member signatures in 0ms.
0:00:00.187623: Updated 0 classes in kernel hierarchy in 0ms.
0:00:00.188439: Added noSuchMethod forwarders in 0ms.
0:00:00.190229: Checked mixin declaration applications in 0ms.
0:00:00.190938: Build outline expressions in 0ms.
0:00:00.191581: Checked type arguments of supers against the bounds in 0ms.
0:00:00.192240: Checked redirecting factories in 0ms.
0:00:00.192902: Cloned default values of formals in 0ms.
0:00:00.193698: Building component in 0ms.
0:00:00.194613: Built bodies for 1 compilation units (89 bytes) in 0.151ms, that is,
589.404 bytes/ms, and
0.151 ms/compilation unit.
0:00:00.196896: Cloned default values of formals in 0ms.
0:00:00.197627: Finished deferred load tearoffs 0 in 0ms.
0:00:00.198307: Finished forwarders for 0 procedures in 0ms.
0:00:00.199463: Finished 0 native methods in 0ms.
0:00:00.200101: Finished 0 patch methods in 0ms.
0:00:00.200729: Finished constructors in 0ms.
0:00:00.202084: Evaluated constants in 0ms.
0:00:00.204515: Added constant coverage in 0ms.
0:00:00.206339: Transformed mixin applications in 0ms.
0:00:00.207024: Skipped ffi transformation in 0ms.
0:00:00.208074: Transformed async methods in 0ms.
0:00:00.210599: Lowering transformations performed in 1ms.
0:00:00.211495: Annotated call sites in 0ms.
0:00:00.212853: Generated component in 0ms.
.vm.product=true: Error: No 'main' method found.
Try adding a method named 'main' to your program.
5ae6fa1a-1e49-4662-9dde-2017134c1ccb
PS D:\lap_trinh_android\lap_trinh_fluter\kithoctap> C:\Users\daong\Documents\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\daong\Documents\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\Users\daong\Documents\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product --target=flutter --aot --tfa -Ddart.vm.product=true --packages .packages --output-dill build\kernel_snapshot.dill --verbose --depfile build\kernel_snapshot.d package:lib/main.dart
result 83dcd1b1-a17a-426e-84c7-d2f64169010b
Inputs: [file:////.vm.product=true]
Output: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills:
Packages uri: file:////.packages
Packages: null
Compile SDK: false
SDK root: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/)
SDK specification: null (provided: null)
SDK summary: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill)
Target: null (provided: null)
throwOnErrorsForDebugging: false
throwOnWarningsForDebugging: false
exit on problem: false
Embed sources: true
debugDump: false
verbose: true
verify: false
0:00:00.003531: Started building UriTranslator in 3ms.
0:00:00.004028: Read libraries file in 0ms.
0:00:00.021377: Read packages file in 16ms.
Inputs: [file:///~/.vm.product=true]
Output: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills:
0:00:00.004159: Started building UriTranslator in 4ms.
0:00:00.007481: Read libraries file in 0ms.
0:00:00.011456: Read packages file in 2ms.
0:00:00.092807: Indexed 18 libraries (0 bytes) in 80.460ms, that is,
0.000 bytes/ms, and
4.470 ms/libraries.
Enabling colors as OS is Windows.
.vm.product=true: Error: Error when reading '.vm.product=true': The system cannot find the file specified.
0:00:00.118426: Built outlines for 1 compilation units (89 bytes) in 22.027ms, that is,
4.040 bytes/ms, and
22.027 ms/compilation unit.
0:00:00.140182: Resolved parts in 18ms.
0:00:00.143462: Applied patches in 0ms.
0:00:00.146454: Computed library scopes in 2ms.
0:00:00.148048: Resolved 0 types in 0ms.
0:00:00.149719: Computed variances of 0 type variables in 0ms.
0:00:00.150361: Computed default types for 0 type variables in 0ms.
0:00:00.186633: Checked class hierarchy in 35ms.
0:00:00.187813: Resolved 0 type-variable bounds in 0ms.
0:00:00.188620: Built component in 0ms.
0:00:00.189663: Installed Object as implicit superclass in 0ms.
0:00:00.190443: Installed synthetic constructors in 0ms.
0:00:00.191204: Resolved 0 constructors in 0ms.
0:00:00.192487: Linked component in 0ms.
0:00:00.195533: Computed core types in 0ms.
0:00:00.197404: Built class hierarchy in 0ms.
0:00:00.198486: Checked supertypes in 0ms.
0:00:00.199319: Built class hierarchy members in 0ms.
0:00:00.205759: Computed class hierarchy in 5ms.
0:00:00.206888: Computed show and hide elements in 0ms.
0:00:00.207896: Performed top level inference in 0ms.
0:00:00.208991: Checked 0 overrides in 0ms.
0:00:00.211660: Checked for restricted members inheritance in enums. in 0ms.
0:00:00.213829: Finished initializing formals in 0ms.
0:00:00.214683: Computed 0 combined member signatures in 0ms.
0:00:00.215533: Updated 0 classes in kernel hierarchy in 0ms.
0:00:00.216445: Added noSuchMethod forwarders in 0ms.
0:00:00.217110: Checked mixin declaration applications in 0ms.
0:00:00.217955: Build outline expressions in 0ms.
0:00:00.218618: Checked type arguments of supers against the bounds in 0ms.
0:00:00.219402: Checked redirecting factories in 0ms.
0:00:00.220259: Cloned default values of formals in 0ms.
0:00:00.221009: Building component in 0ms.
0:00:00.221808: Built bodies for 1 compilation units (89 bytes) in 0.134ms, that is,
664.179 bytes/ms, and
0.134 ms/compilation unit.
0:00:00.223583: Cloned default values of formals in 0ms.
0:00:00.230051: Finished deferred load tearoffs 0 in 0ms.
0:00:00.230792: Finished forwarders for 0 procedures in 0ms.
0:00:00.231510: Finished 0 native methods in 0ms.
0:00:00.232172: Finished 0 patch methods in 0ms.
0:00:00.232817: Finished constructors in 0ms.
0:00:00.234191: Evaluated constants in 0ms.
0:00:00.234896: Added constant coverage in 0ms.
0:00:00.235551: Transformed mixin applications in 0ms.
0:00:00.236547: Skipped ffi transformation in 0ms.
0:00:00.237560: Transformed async methods in 0ms.
0:00:00.239278: Lowering transformations performed in 0ms.
0:00:00.241752: Annotated call sites in 0ms.
0:00:00.246943: Generated component in 0ms.
.vm.product=true: Error: No 'main' method found.
Try adding a method named 'main' to your program.
83dcd1b1-a17a-426e-84c7-d2f64169010b
The text was updated successfully, but these errors were encountered:
I did as instructed (replacing C:\flutter with my path) but no kernel_snapshot file was generated.
C:\flutter\bin\cache\dart-sdk\bin\dart.exe ^ C:\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot ^ --sdk-root C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product ^ --target=flutter ^ --aot ^ --tfa ^ -Ddart.vm.product=true ^ --packages .packages ^ --output-dill build\kernel_snapshot.dill ^ --verbose ^ --depfile build\kernel_snapshot.d ^ package:my_app_name/main.dart
Here is my output message
package:my_app_name/main.dart
result 5ae6fa1a-1e49-4662-9dde-2017134c1ccb
Inputs: [file:///
/.vm.product=true]/.packagesOutput: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills:
Packages uri: file:///
Packages: null
Compile SDK: false
SDK root: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/)
SDK specification: null (provided: null)
SDK summary: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill)
Target: null (provided: null)
throwOnErrorsForDebugging: false
throwOnWarningsForDebugging: false
exit on problem: false
Embed sources: true
debugDump: false
verbose: true
verify: false
0:00:00.002823: Started building UriTranslator in 2ms.
0:00:00.003305: Read libraries file in 0ms.
0:00:00.005996: Read packages file in 2ms.
Inputs: [file:///~/.vm.product=true]
Output: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills:
Packages uri: file:///~/.packages
Packages: null
Compile SDK: false
SDK root: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/)
SDK specification: null (provided: null)
SDK summary: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill)
Target: null (provided: flutter)
throwOnErrorsForDebugging: false
throwOnWarningsForDebugging: false
exit on problem: false
Embed sources: true
debugDump: false
verbose: true
verify: false
0:00:00.003882: Started building UriTranslator in 3ms.
0:00:00.004535: Read libraries file in 0ms.
0:00:00.007827: Read packages file in 2ms.
0:00:00.085345: Indexed 18 libraries (0 bytes) in 76.799ms, that is,
0.000 bytes/ms, and
4.267 ms/libraries.
Enabling colors as OS is Windows.
.vm.product=true: Error: Error when reading '.vm.product=true': The system cannot find the file specified.
0:00:00.109495: Built outlines for 1 compilation units (89 bytes) in 19.970ms, that is,
4.457 bytes/ms, and
19.970 ms/compilation unit.
0:00:00.129146: Resolved parts in 15ms.
0:00:00.130004: Applied patches in 0ms.
0:00:00.132395: Computed library scopes in 1ms.
0:00:00.133166: Resolved 0 types in 0ms.
0:00:00.134630: Computed variances of 0 type variables in 0ms.
0:00:00.135260: Computed default types for 0 type variables in 0ms.
0:00:00.166463: Checked class hierarchy in 30ms.
0:00:00.167558: Resolved 0 type-variable bounds in 0ms.
0:00:00.168314: Built component in 0ms.
0:00:00.168942: Installed Object as implicit superclass in 0ms.
0:00:00.169684: Installed synthetic constructors in 0ms.
0:00:00.170480: Resolved 0 constructors in 0ms.
0:00:00.171258: Linked component in 0ms.
0:00:00.172842: Computed core types in 0ms.
0:00:00.173468: Built class hierarchy in 0ms.
0:00:00.174145: Checked supertypes in 0ms.
0:00:00.174752: Built class hierarchy members in 0ms.
0:00:00.180789: Computed class hierarchy in 5ms.
0:00:00.181673: Computed show and hide elements in 0ms.
0:00:00.182451: Performed top level inference in 0ms.
0:00:00.183290: Checked 0 overrides in 0ms.
0:00:00.183907: Checked for restricted members inheritance in enums. in 0ms.
0:00:00.184524: Finished initializing formals in 0ms.
0:00:00.185125: Computed 0 combined member signatures in 0ms.
0:00:00.187623: Updated 0 classes in kernel hierarchy in 0ms.
0:00:00.188439: Added noSuchMethod forwarders in 0ms.
0:00:00.190229: Checked mixin declaration applications in 0ms.
0:00:00.190938: Build outline expressions in 0ms.
0:00:00.191581: Checked type arguments of supers against the bounds in 0ms.
0:00:00.192240: Checked redirecting factories in 0ms.
0:00:00.192902: Cloned default values of formals in 0ms.
0:00:00.193698: Building component in 0ms.
0:00:00.194613: Built bodies for 1 compilation units (89 bytes) in 0.151ms, that is,
589.404 bytes/ms, and
0.151 ms/compilation unit.
0:00:00.196896: Cloned default values of formals in 0ms.
0:00:00.197627: Finished deferred load tearoffs 0 in 0ms.
0:00:00.198307: Finished forwarders for 0 procedures in 0ms.
0:00:00.199463: Finished 0 native methods in 0ms.
0:00:00.200101: Finished 0 patch methods in 0ms.
0:00:00.200729: Finished constructors in 0ms.
0:00:00.202084: Evaluated constants in 0ms.
0:00:00.204515: Added constant coverage in 0ms.
0:00:00.206339: Transformed mixin applications in 0ms.
0:00:00.207024: Skipped ffi transformation in 0ms.
0:00:00.208074: Transformed async methods in 0ms.
0:00:00.210599: Lowering transformations performed in 1ms.
0:00:00.211495: Annotated call sites in 0ms.
0:00:00.212853: Generated component in 0ms.
.vm.product=true: Error: No 'main' method found.
Try adding a method named 'main' to your program.
5ae6fa1a-1e49-4662-9dde-2017134c1ccb
PS D:\lap_trinh_android\lap_trinh_fluter\kithoctap> C:\Users\daong\Documents\flutter\bin\cache\dart-sdk\bin\dart.exe C:\Users\daong\Documents\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\Users\daong\Documents\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk_product --target=flutter --aot --tfa -Ddart.vm.product=true --packages .packages --output-dill build\kernel_snapshot.dill --verbose --depfile build\kernel_snapshot.d package:lib/main.dart
result 83dcd1b1-a17a-426e-84c7-d2f64169010b
Inputs: [file:///
/.vm.product=true]/.packagesOutput: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills:
Packages uri: file:///
Packages: null
Compile SDK: false
SDK root: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/)
SDK specification: null (provided: null)
SDK summary: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill)
Target: null (provided: null)
throwOnErrorsForDebugging: false
throwOnWarningsForDebugging: false
exit on problem: false
Embed sources: true
debugDump: false
verbose: true
verify: false
0:00:00.003531: Started building UriTranslator in 3ms.
0:00:00.004028: Read libraries file in 0ms.
0:00:00.021377: Read packages file in 16ms.
Inputs: [file:///~/.vm.product=true]
Output: null
Was diagnostic message handler provided: yes
FileSystem: Null (provided: StandardFileSystem)
Additional Dills:
Packages uri: file:///~/.packages
Packages: null
Compile SDK: false
SDK root: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/)
SDK specification: null (provided: null)
SDK summary: null (provided: file:///C:/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk_product/platform_strong.dill)
Target: null (provided: flutter)
throwOnErrorsForDebugging: false
throwOnWarningsForDebugging: false
exit on problem: false
Embed sources: true
debugDump: false
verbose: true
verify: false
0:00:00.004159: Started building UriTranslator in 4ms.
0:00:00.007481: Read libraries file in 0ms.
0:00:00.011456: Read packages file in 2ms.
0:00:00.092807: Indexed 18 libraries (0 bytes) in 80.460ms, that is,
0.000 bytes/ms, and
4.470 ms/libraries.
Enabling colors as OS is Windows.
.vm.product=true: Error: Error when reading '.vm.product=true': The system cannot find the file specified.
0:00:00.118426: Built outlines for 1 compilation units (89 bytes) in 22.027ms, that is,
4.040 bytes/ms, and
22.027 ms/compilation unit.
0:00:00.140182: Resolved parts in 18ms.
0:00:00.143462: Applied patches in 0ms.
0:00:00.146454: Computed library scopes in 2ms.
0:00:00.148048: Resolved 0 types in 0ms.
0:00:00.149719: Computed variances of 0 type variables in 0ms.
0:00:00.150361: Computed default types for 0 type variables in 0ms.
0:00:00.186633: Checked class hierarchy in 35ms.
0:00:00.187813: Resolved 0 type-variable bounds in 0ms.
0:00:00.188620: Built component in 0ms.
0:00:00.189663: Installed Object as implicit superclass in 0ms.
0:00:00.190443: Installed synthetic constructors in 0ms.
0:00:00.191204: Resolved 0 constructors in 0ms.
0:00:00.192487: Linked component in 0ms.
0:00:00.195533: Computed core types in 0ms.
0:00:00.197404: Built class hierarchy in 0ms.
0:00:00.198486: Checked supertypes in 0ms.
0:00:00.199319: Built class hierarchy members in 0ms.
0:00:00.205759: Computed class hierarchy in 5ms.
0:00:00.206888: Computed show and hide elements in 0ms.
0:00:00.207896: Performed top level inference in 0ms.
0:00:00.208991: Checked 0 overrides in 0ms.
0:00:00.211660: Checked for restricted members inheritance in enums. in 0ms.
0:00:00.213829: Finished initializing formals in 0ms.
0:00:00.214683: Computed 0 combined member signatures in 0ms.
0:00:00.215533: Updated 0 classes in kernel hierarchy in 0ms.
0:00:00.216445: Added noSuchMethod forwarders in 0ms.
0:00:00.217110: Checked mixin declaration applications in 0ms.
0:00:00.217955: Build outline expressions in 0ms.
0:00:00.218618: Checked type arguments of supers against the bounds in 0ms.
0:00:00.219402: Checked redirecting factories in 0ms.
0:00:00.220259: Cloned default values of formals in 0ms.
0:00:00.221009: Building component in 0ms.
0:00:00.221808: Built bodies for 1 compilation units (89 bytes) in 0.134ms, that is,
664.179 bytes/ms, and
0.134 ms/compilation unit.
0:00:00.223583: Cloned default values of formals in 0ms.
0:00:00.230051: Finished deferred load tearoffs 0 in 0ms.
0:00:00.230792: Finished forwarders for 0 procedures in 0ms.
0:00:00.231510: Finished 0 native methods in 0ms.
0:00:00.232172: Finished 0 patch methods in 0ms.
0:00:00.232817: Finished constructors in 0ms.
0:00:00.234191: Evaluated constants in 0ms.
0:00:00.234896: Added constant coverage in 0ms.
0:00:00.235551: Transformed mixin applications in 0ms.
0:00:00.236547: Skipped ffi transformation in 0ms.
0:00:00.237560: Transformed async methods in 0ms.
0:00:00.239278: Lowering transformations performed in 0ms.
0:00:00.241752: Annotated call sites in 0ms.
0:00:00.246943: Generated component in 0ms.
.vm.product=true: Error: No 'main' method found.
Try adding a method named 'main' to your program.
83dcd1b1-a17a-426e-84c7-d2f64169010b
The text was updated successfully, but these errors were encountered: