Skip to content

FLutter commands problem #39395

@bennuu

Description

@bennuu

Steps to Reproduce

If I use command flutter in cmd, I have problems

Logs

C:\Program Files>git clone -b stable https://github.com/flutter/flutter.git                                             Cloning into 'flutter'...                                                                                               remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 185240 (delta 12), reused 10 (delta 4), pack-reused 185205
Receiving objects: 100% (185240/185240), 69.22 MiB | 1.56 MiB/s, done.
Resolving deltas: 100% (141692/141692), done.
Checking out files: 100% (3513/3513), done.

C:\Program Files>cd flutter

C:\Program Files\flutter>flutter doctor
'git rev-parse HEAD' is not recognized as an internal or external command,
operable program or batch file.
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine fee001c93f25a1e7258e762781a7361f122d29f5...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...
'dir /a:l "C:\Program Files\flutter\bin\cache\dart-sdk\" 2>nul   | find ">     bin [" 2>nul' is not recognized as an internal or external command,
operable program or batch file.
Downloading Material fonts...                                       0,8s
Downloading android-arm-profile/windows-x64 tools...                0,6s
Downloading android-arm-release/windows-x64 tools...                0,5s
Downloading android-arm64-profile/windows-x64 tools...              0,7s
Downloading android-arm64-release/windows-x64 tools...              0,6s
Downloading android-x86 tools...                                    5,6s
Downloading android-x64 tools...                                    5,6s
Downloading android-arm tools...                                    2,6s
Downloading android-arm-profile tools...                            1,6s
Downloading android-arm-release tools...                            1,2s
Downloading android-arm64 tools...                                  2,7s
Downloading android-arm64-profile tools...                          1,9s
Downloading android-arm64-release tools...                          1,4s
Downloading Gradle Wrapper...                                       0,2s
Downloading package sky_engine...                                   0,4s
Downloading common tools...                                         3,3s
Downloading common tools...                                         3,3s
Downloading windows-x64 tools...                                    6,8s
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.295], locale pl-PL)

Checking Java status is taking a long time...-CreateProcessW failed 2

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: 14228ad4744f4259)
|CreateProcessW failed 2
Crash report written to C:\Program Files\flutter\flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    t: flutter doctorProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions