shahshubh / Chatify

A Chat Application in Flutter using Firebase. Integrated Agora Video Call SDK to communicate over video call
MIT License
93 stars 47 forks source link

Build failed #4

Closed lohnsonok closed 3 years ago

lohnsonok commented 3 years ago

` ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +60 ms] Initializing file store [ +88 ms] [ +28 ms] Skipping target: gen_localizations [ ] [ +24 ms] kernel_snapshot: Starting due to {} [ ] [ +33 ms] /home/rintio_pc1/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/rintio_pc1/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/rintio_pc1/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /home/rintio_pc1/Documents/Chatify/.dart_tool/package_config.json --output-dill /home/rintio_pc1/Documents/Chatify/.dart_tool/flutter_build/0d94aa89d0a7531c28023e64b05d9352/app.dill --depfile /home/rintio_pc1/Documents/Chatify/.dart_tool/flutter_build/0d94aa89d0a7531c28023e64b05d9352/kernel_snapshot.d package:Chatify/main.dart [+7398 ms] [+7341 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.0/lib/src/picture_provider.dart:52:59: Error: No named parameter with the name 'nullOk'. [ ] [ +4 ms] context != null ? Localizations.localeOf(context, nullOk: true) : null, [ ] [ ] ^^^^^^ [ ] [ ] ../../flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match. [ ] [ ] static Locale localeOf(BuildContext context) { [ ] [ ] ^^^^^^^^ [+3198 ms] [+3195 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+1/lib/src/path_provider_windows_real.dart:126:25: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] knownFolderID.addressOf, KF_FLAG_DEFAULT, NULL, pathPtrPtr); [ ] [ ] ^^^^^^^^^ [ +399 ms] [ +450 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:1039:7: Error: The getter 'addressOf' isn't defined for the class 'LOGFONT'. [ +1 ms] [ ] - 'LOGFONT' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ +1 ms] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ +1 ms] [ ] addressOf.cast().elementAt(28).cast(); [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:1084:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'. [ +1 ms] [ ] - 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ +1 ms] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ +1 ms] [ ] LOGFONT get elfLogFont => addressOf.cast().ref; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:1086:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'. [ ] [ ] - 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] String get elfFullName => addressOf [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:1092:26: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'. [ ] [ ] - 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] String get elfStyle => addressOf [ +2 ms] [ ] ^^^^^^^^^ [ +2 ms] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:1098:27: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'. [ ] [ ] - 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ +5 ms] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] String get elfScript => addressOf [ ] [ ] ^^^^^^^^^ [ ] [ +15 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2660:7: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'. [ ] [ ] - 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] addressOf.cast().elementAt(20).cast().unpackString(128); [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2671:11: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'. [ ] [ ] - 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] ..addressOf.cast().elementAt(20).value = 0; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2716:24: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_DEVICE_INFO'. [ ] [ ] - 'BLUETOOTH_DEVICE_INFO' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] String get szName => addressOf [ ] [ ] ^^^^^^^^^ [ ] [ +1 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2809:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'. [ ] [ ] - 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] addressOf.cast().elementAt(BTH_MAX_PIN_SIZE).value; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2812:5: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'. [ ] [ ] - 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] addressOf.cast().elementAt(BTH_MAX_PIN_SIZE).value = [ +7 ms] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2817:28: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'. [ ] [ ] - 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] String.fromCharCodes(addressOf.cast().asTypedList(pinLength)); [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2825:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'. [ ] [ ] - 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] addressOf.cast().elementAt(idx).value = pinData[idx]; [ ] [ ] ^^^^^^^^^ [ +63 ms] [ +75 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart:38:31: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final iid = GUID.allocate().addressOf; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart:56:33: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final clsid = GUID.allocate().addressOf; [ ] [ ] ^^^^^^^^^ [ ] [ +4 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/winrt/winrt_helpers.dart:86:40: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final riidCalendar = GUID.allocate().addressOf; [ ] [ ] ^^^^^^^^^ [ +97 ms] [ +108 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IDesktopWallpaper.dart:197:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'. [ +1 ms] [ ] - 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart'). [ +1 ms] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final ptr = COMObject.allocate().addressOf; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IDesktopWallpaper.dart:200:49: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(CLSID_DesktopWallpaper).addressOf, [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IDesktopWallpaper.dart:203:48: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(IID_IDesktopWallpaper).addressOf, [ ] [ ] ^^^^^^^^^ [ +92 ms] [ +49 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IFileOpenDialog.dart:58:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'. [ ] [ ] - 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final ptr = COMObject.allocate().addressOf; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IFileOpenDialog.dart:61:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(CLSID_FileOpenDialog).addressOf, [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IFileOpenDialog.dart:64:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(IID_IFileOpenDialog).addressOf, [ ] [ ] ^^^^^^^^^ [ ] [ +13 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IFileSaveDialog.dart:99:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'. [ ] [ ] - 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final ptr = COMObject.allocate().addressOf; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IFileSaveDialog.dart:102:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(CLSID_FileSaveDialog).addressOf, [ ] [ ] ^^^^^^^^^ [ +3 ms] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IFileSaveDialog.dart:105:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ +3 ms] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(IID_IFileSaveDialog).addressOf, [ ] [ ] ^^^^^^^^^ [ ] [ +41 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IKnownFolderManager.dart:164:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'. [ +1 ms] [ ] - 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final ptr = COMObject.allocate().addressOf; [ +3 ms] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IKnownFolderManager.dart:167:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ +1 ms] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(CLSID_KnownFolderManager).addressOf, [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IKnownFolderManager.dart:170:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ +5 ms] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ +1 ms] GUID.fromString(IID_IKnownFolderManager).addressOf, [ ] [ ] ^^^^^^^^^ [ +68 ms] [ +94 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/INetworkListManager.dart:128:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'. [ ] [ ] - 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final ptr = COMObject.allocate().addressOf; [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/INetworkListManager.dart:131:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ +4 ms] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ +1 ms] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(CLSID_NetworkListManager).addressOf, [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/INetworkListManager.dart:134:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] GUID.fromString(IID_INetworkListManager).addressOf, [ ] [ ] ^^^^^^^^^ [ +90 ms] [ +64 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IWbemLocator.dart:82:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'. [ ] [ ] - 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/com/combase.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final ptr = COMObject.allocate().addressOf; [ +2 ms] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IWbemLocator.dart:84:68: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] final hr = CoCreateInstance(GUID.fromString(CLSID_WbemLocator).addressOf, [ ] [ ] ^^^^^^^^^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/generated/IWbemLocator.dart:85:64: Error: The getter 'addressOf' isn't defined for the class 'GUID'. [ ] [ ] - 'GUID' is from 'package:win32/src/structs.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] nullptr, CLSCTX_ALL, GUID.fromString(IID_IWbemLocator).addressOf, ptr); [ ] [ ] ^^^^^^^^^ [ ] [ +15 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'. [ ] [ ] - 'Utf8' is from 'package:ffi/src/utf8.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart'). [ ] [ ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'. [ ] [ ] String toString() => fromUtf8(addressOf); [ ] [ ] ^^^^^^^^^ [+2493 ms] [+2517 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:1083:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty structs are undefined behavior. [ ] [ ] class ENUMLOGFONTEX extends Struct { [ ] [ ] ^ [ ] [ +7 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2807:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs are undefined behavior. [ ] [ ] class BLUETOOTH_PIN_INFO extends Struct { [ ] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2932:7: Error: Struct 'EXCEPINFO' is empty. Empty structs are undefined behavior. [ ] [ ] class EXCEPINFO extends Struct {} [ ] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2938:7: Error: Struct 'PROPERTYKEY' is empty. Empty structs are undefined behavior. [ ] [ ] class PROPERTYKEY extends Struct {} [ ] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2945:7: Error: Struct 'PROPVARIANT' is empty. Empty structs are undefined behavior. [ ] [ ] class PROPVARIANT extends Struct {} [ ] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2950:7: Error: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior. [ ] [ ] class SAFEARRAY extends Struct {} [ ] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2957:7: Error: Struct 'CLSID' is empty. Empty structs are undefined behavior. [ ] [ ] class CLSID extends Struct {} [ ] [ ] ^ [ +4 ms] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2964:7: Error: Struct 'STATSTG' is empty. Empty structs are undefined behavior. [ ] [ ] class STATSTG extends Struct {} [ ] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/win32-1.7.3/lib/src/structs.dart:2971:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior. [ +6 ms] [ ] class NLM_SIMULATED_PROFILE_INFO extends Struct {} [ +5 ms] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefined behavior. [ +1 ms] [ ] class Utf8 extends Struct { [ ] [ ] ^ [ ] [ ] ../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are undefined behavior. [ ] [ ] class Utf16 extends Struct { [ ] [ ] ^ [ +377 ms] [ +324 ms] ../../flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'. [ +1 ms] [ ] final int totalSize = count sizeOf(); [ +2 ms] [ ] ^ [+4095 ms] [+4125 ms] Persisting file store [ ] [ +3 ms] Done persisting file store [ ] [ +3 ms] Target kernel_snapshot failed: Exception [ ] #0 KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:291:7) [ ] [ ] #1 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:828:9) [ ] [ ] #2 Future.wait. (dart:async/future.dart) [ ] [ ] #3 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:766:32) [ ] [ ] #4 FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:595:16) [ ] [ ] #5 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:318:32) [ ] [ ] #6 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1043:27) [ ] [ ] #7 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #8 CommandRunner.runCommand (package:args/command_runner.dart:196:13) [ ] [ ] #9 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9) [ ] [ ] #10 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #11 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5) [ ] [ ] #12 run.. (package:flutter_tools/runner.dart:62:9) [ ] [ ] #13 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #14 main (package:flutter_tools/executable.dart:91:3) [ +10 ms] [ ] [ +5 ms] [ ] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) [ ] #1 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:335:7) [ ] [ ] #2 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1043:27) [ ] [ ] #3 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #4 CommandRunner.runCommand (package:args/command_runner.dart:196:13) [ ] [ ] #5 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9) [ ] [ ] #6 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5) [ ] [ +1 ms] #8 run.. (package:flutter_tools/runner.dart:62:9) [ ] [ ] #9 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19) [ ] [ ] #10 main (package:flutter_tools/executable.dart:91:3) [ ] [ +22 ms] [ +13 ms] "flutter assemble" took 18 850ms. [ +252 ms] [ +254 ms] ensureAnalyticsSent: 252ms [ ] [ +4 ms] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 1 [ ] > Task :app:compileFlutterBuildDebug FAILED [ +98 ms] FAILURE: Build failed with an exception. [ ] Where: [ ] Script '/home/rintio_pc1/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035 [ ] What went wrong: [ ] Execution failed for task ':app:compileFlutterBuildDebug'. [ ] > Process 'command '/home/rintio_pc1/flutter/bin/flutter'' finished with non-zero exit value 1 [ +1 ms] Try: [ +1 ms] 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. [ +1 ms] * Get more help at https://help.gradle.org [ +93 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. [ ] Use '--warning-mode all' to show the individual deprecation warnings. [ ] See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings [ ] 25 actionable tasks: 25 executed [ ] BUILD FAILED in 7m 37s [ +535 ms] Running Gradle task 'assembleDebug'... (completed in 479,8s) [ +1 ms] Exception: Gradle task assembleDebug failed with exit code 1 [ +2 ms] "flutter run" took 506 383ms. [ +6 ms]

0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)

       #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:663:9)
       <asynchronous suspension>
       #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
       <asynchronous suspension>
       #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #4      CommandRunner.runCommand (package:args/command_runner.dart:196:13)
       <asynchronous suspension>
       #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
       <asynchronous suspension>
       #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:232:5)
       <asynchronous suspension>
       #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
       <asynchronous suspension>
       #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #10     main (package:flutter_tools/executable.dart:91:3)
       <asynchronous suspension>

[ +258 ms] ensureAnalyticsSent: 255ms [ +1 ms] Running shutdown hooks [ ] Shutdown hooks complete [ +1 ms] exiting with code 1 rintio_pc1@rintiopc2:~/Documents/Chatify$ flutter clean`

Environement Flutter 2.2 Build failed. Please help to solve this

shahshubh commented 3 years ago

Hey, Did you try running flutter doctor ?

lohnsonok commented 3 years ago

Solved my issue by update sdkTargetVersion 28 to 29 . Running app on Android 10 support