-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IntelliJ IDEA stuck on "Creating Flutter Project" #1855
Comments
Can you check your IntelliJ log file to see if there are any exceptions (likely near the end)? Or, any suspicious entries? You could also try enabling the 'verbose' option in the Flutter preference page (Preferences > Languages and Frameworks > Flutter), then re-run the project create step and again check the log. Does project creation work on the cli? |
@devoncarew
So I tried disabling Kaspersky and that changed a lot
But creating projects via IntelliJ IDEA is still endless. I looked into log and I found these lines quite strange:
UPD. I checked 'verbose' in Preferences and now it says "Flutter create command was unsuccessfull" |
I'm not a Windows user and this may be totally irrelevant. Having Flutter installed in
seems incorrect and could lead to problems. |
I think firewall is restricting access to some paths. |
I finally got around this. You can diagnose via creating a new project via the command line, and then running an update packages to diagnose proxy issues. NOTE: I had to set a system wide proxy to make this work.
I found out here that my proxy information was bad. I added an the following to my |
Try to "Run as administrator" your IDE. |
I have the same issue when creating a new Flutter project while at work, where the network has a man-in-the-middle firewall. Something is being blocked, but instead of failing gracefully, IntelliJ is hanging indefinitely. |
I had the same issue also. When I connected my system to the internet, it completed the task in a few seconds... |
I also had the same issue, In my case, I think, it was caused because the process 'dart' was already running in the background. In Linux terminal, I entered |
Using my work computer on my home network I'm now having the same issue. If I run |
flutter/flutter#16659 mentions
|
i have the same problem. how did you solve? |
it's so wired. i can use flutter create command to generate new project. But i cannot create flutter project in android studio and it stuck |
This can happen while working behind a corporate proxy. If you want to create a project with the flutter cli, configure a cntlm - it is necessary that flutter has access/permission to the internet. If it works on the cli but NOT in android studio or intellij IDEA -> go to file -> settings -> system settings -> HTTP proxy. Configure the proxy manually and !IMPORTANT! check the box "remember" your credentials. After that restart intellij or android studio. Cheers |
Close the http proxy set on android studio solved my problem on mac. |
Closing as obsolete as there is no action item here for the Flutter Plugin |
Steps to Reproduce
Then it starts looping. It has been doing something for about one hour.
Version info
The text was updated successfully, but these errors were encountered: