flutter-intellij: IntelliJ IDEA stuck on "Creating Flutter Project"
Steps to Reproduce
- Open IntelliJ IDEA
- Goto File->New Project and select Flutter (SDK path is correct)
- Click on Next and Finish
Then it starts looping. It has been doing something for about one hour.
Version info
[√] Flutter (on Microsoft Windows [Version 10.0.16299.248], locale ru-RU, channel beta)
• Flutter version 0.1.4 at C:\Windows\System32\flutter
• Framework revision f914e701c5 (9 days ago), 2018-02-19 21:12:17 +0000
• Engine revision 13cf22c284
• Dart version 2.0.0-dev.27.0-flutter-0d5cf900b0
[√] Android toolchain - develop for Android devices (Android SDK 23.0.3)
• Android SDK at C:\Users\Владислав\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-23, build-tools 23.0.3
• Java binary at: D:\Android\Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Android Studio (version 3.0)
• Android Studio at D:\Android\Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] IntelliJ IDEA Community Edition (version 2017.3)
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 1
- Comments: 16 (2 by maintainers)
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
killall dart
to kill the process and then I was able to create a new project.Close the http proxy set on android studio solved my problem on mac. Give myself a thumbup!
Try to “Run as administrator” your IDE. It worked for me on Android Studio.
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.
Create a flutter project:
flutter create foo_bar
Run get packages:
flutter packages get -v
I found out here that my proxy information was bad. I added an the following to my
~/.bash_profile
, closed the terminal and Android Studio, and then reopened both.http_proxy="http://user:pass@myproxy.com:8080"
I’m not a Windows user and this may be totally irrelevant. Having Flutter installed in
C:\Windows\System32\flutter
seems incorrect and could lead to problems.
See Get Started: Install on Windows.
@devoncarew idea.log threadDump-20180301-091108.txt threadDump-20180301-091103.txt threadDump-20180301-091146.txt threadDump-20180301-130404.txt threadDump-20180301-130359.txt threadDump-20180301-130429.txt
I hope this information will be helpfull