Closed JoseJaime17 closed 3 weeks ago
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Steps to reproduce
Initializing the Flutter SDK. This may take a few minutes.
Expected results
I expected I should emulate I flutter application in vs code
Actual results
i can't run my flutter application because my its doesn't emulate
Code sample
Code sample
```dart [Paste your code here] ```Screenshots or Video
Screenshots / Video demonstration
[Upload media here]Logs
Logs
```console [Paste your logs here] ```Flutter Doctor output
Doctor output
```console Building flutter tool... Running pub upgrade... Resolving dependencies... Got dependencies. ../../Pub/Cache/hosted/pub.dev/collection-1.18.0/lib/src/canonicalized_map.dart:173:60: Error: Can't use an expression of type 'bool Function(K)?' as a function because it's potentially null. Try calling using ?.call instead. (key is K) && (_isValidKeyFn == null || _isValidKeyFn(key)); ^ ../../Pub/Cache/hosted/pub.dev/stack_trace-1.11.1/lib/src/stack_zone_specification.dart:161:30: Error: The argument type 'void Function(Object, Chain)?' can't be assigned to the parameter type 'void Function(Object, Chain)' because 'void Function(Object, Chain)?' is nullable and 'void Function(Object, Chain)' isn't. - 'Object' is from 'dart:core'. - 'Chain' is from 'package:stack_trace/src/chain.dart' ('../../Pub/Cache/hosted/pub.dev/stack_trace-1.11.1/lib/src/chain.dart'). self.parent!.runBinary(_onError, error, stackChain); ^ ../../Pub/Cache/hosted/pub.dev/intl-0.18.1/lib/src/locale/locale_implementation.dart:185:55: Error: Property 'subtags' cannot be accessed on 'LocaleExtensions?' because it is potentially null. - 'LocaleExtensions' is from 'package:intl/src/locale/locale_extensions.dart' ('../../Pub/Cache/hosted/pub.dev/intl-0.18.1/lib/src/locale/locale_extensions.dart'). Try accessing using ?. instead. if (_extensions != null) out.addAll(_extensions.subtags); ^^^^^^^ ../../Pub/Cache/hosted/pub.dev/intl-0.18.1/lib/src/locale/locale_implementation.dart:172:27: Context: '_extensions' couldn't be promoted because field promotion is only available in Dart 3.2 and above. See http://dart.dev/go/non-promo-field-promotion-unavailable final LocaleExtensions? _extensions; ^ ../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/lambda_context.dart:70:22: Error: The getter 'children' isn't defined for the class 'Node'. - 'Node' is from 'package:mustache_template/src/node.dart' ('../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/node.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'. var nodes = node.children; ^^^^^^^^ ../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/lambda_context.dart:77:44: Error: The getter 'contentStart' isn't defined for the class 'Node'. - 'Node' is from 'package:mustache_template/src/node.dart' ('../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/node.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'contentStart'. return _renderer.source.substring(node.contentStart, node.contentEnd); ^^^^^^^^^^^^ ../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/lambda_context.dart:77:63: Error: The getter 'contentEnd' isn't defined for the class 'Node'. - 'Node' is from 'package:mustache_template/src/node.dart' ('../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/node.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'contentEnd'. return _renderer.source.substring(node.contentStart, node.contentEnd); ^^^^^^^^^^ ../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/lambda_context.dart:89:25: Error: The getter 'delimiters' isn't defined for the class 'Node'. - 'Node' is from 'package:mustache_template/src/node.dart' ('../../Pub/Cache/hosted/pub.dev/mustache_template-2.0.0/lib/src/node.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'delimiters'. delimiters = node.delimiters; ^^^^^^^^^^ ../../Pub/Cache/hosted/pub.dev/built_collection-5.1.1/lib/src/internal/copy_on_write_map.dart:117:23: Error: Can't use an expression of type 'Map