Flutter Create Command Was Unsuccessful Error
Solution 1:
A simple Android Studio restart did the trick for me
Solution 2:
I've solution to this problem now.
After running flutter doctor --android-licenses
I got to know that I need to update my sdkManager
.
Then I went to that directory using
cd C:\Users\[user-name]\AppData\Local\Android\Sdk\tools\bin
and run sdkmanager --update
Then I restarted the Android Studio
and tried creating flutter project.
It worked.
Solution 3:
check your FLUTTER SDK path of the project (android studio: file -> settings -> Language & framework -> flutter -> flutter sdk path) . Or execute flutter doctor command in flutter consol.(This worked for me)
Solution 4:
please install all the dependencies that flutter wants Operating Systems: Linux (64-bit) Disk Space: 600 MB (does not include disk space for IDE/tools). Tools: Flutter depends on these command-line tools being available in your environment. *bash *curl *file *git 2.x *mkdir *rm *unzip *which *xz-utils *zip Shared libraries: Flutter *test command depends on this library being available in your environment. libGLU.so.1 - provided by mesa packages such as libglu1-mesa on Ubuntu/Debian and mesa-libGLU on Fedora
Solution 5:
Look at Flutter sdk path while Creating the Project.
$ C:\flutter
If your Flutter SDK is updated and the path is right you will get a solution.
Post a Comment for "Flutter Create Command Was Unsuccessful Error"