Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Não consigo criar um novo projeto flutter

Flutter crash report. Please report a bug at https://github.com/flutter/flutter/issues.

command

flutter create --ios-language swift --android-language kotlin .

exception

FileSystemException: FileSystemException: Cannot open file, path = 'D:\Abadia\Downloads\flutter\packages\flutter_tools\templates\template_manifest.json' (OS Error: O sistema não pode encontrar o arquivo especificado. , errno = 2)

#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3      _File.readAsStringSync (dart:io/file_impl.dart:584:18)
#4      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:103:16)
#5      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:103:16)
#6      CreateCommand._computeTemplateManifest (package:flutter_tools/src/commands/create.dart:295:37)
#7      CreateCommand.templateManifest (package:flutter_tools/src/commands/create.dart:281:58)
#8      CreateCommand._renderTemplate (package:flutter_tools/src/commands/create.dart:793:25)
#9      CreateCommand._generateApp (package:flutter_tools/src/commands/create.dart:670:29)
#10     CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:435:37)
#11     _rootRunUnary (dart:async/zone.dart:1198:47)
#12     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#13     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#14     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#15     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#16     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#17     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
#18     _rootRun (dart:async/zone.dart:1190:13)
#19     _CustomZone.run (dart:async/zone.dart:1093:19)
#20     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#21     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#22     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#23     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#24     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

flutter doctor

[✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Microsoft Windows [versão 10.0.18362.1082], locale pt-BR)
    • Flutter version 1.21.0-9.2.pre at D:\Abadia\Downloads\flutter
    • Framework revision 81a45ec2e5 (4 weeks ago), 2020-08-27 14:14:33 -0700
    • Engine revision 20a9531835
    • Dart version 2.10.0 (build 2.10.0-7.3.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Abadia\AppData\Local\Android\sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: D:\Nova pasta\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✓] Android Studio (version 4.0)
    • Android Studio at D:\Nova pasta
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.49.2)
    • VS Code at C:\Users\Abadia\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.1

[✓] Connected device (2 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.121

• No issues found!
1 resposta
solução!

Consegui Tive que instalar novamente o flutter