flutter-intellij: Setting Flutter SDK path for default project does not set properly
Steps to Reproduce
- Open IntelliJ IDE (with Flutter + Dart plugins already installed)
- Close all existing projects (ie. you should only see IntelliJ project management window, with
Create New Project
, etc.) - Click Configure > Settings > Languages & Frameworks > Flutter
- Input/Browse for the Flutter SDK Path
- Click
Apply
orOK
Expected
Path should remain in Flutter SDK path text box
Actual
Path disappears from Flutter SDK path text box
Version info
[✓] Flutter (on Linux, channel alpha)
• Flutter at /home/marcusljx/REPO/flutter
• Framework revision dc4ca8db83 (3 days ago), 2017-05-11 15:33:29 -0700
• Engine revision f99d3ef108
• Tools Dart version 1.23.0-dev.11.11
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
• Android SDK at /home/marcusljx/Android/Sdk
• Platform android-25, build-tools 25.0.0
• Java binary at: /home/marcusljx/.local/share/umake/android/android-studio/jre/bin/java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] Android Studio (version 2.3)
• Android Studio at /home/marcusljx/.local/share/umake/android/android-studio
• Gradle version 3.2
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[-] IntelliJ IDEA Ultimate Edition (version 2016.2)
• Dart plugin not installed; this adds Dart specific functionality.
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[-] WebStorm (version 2016.3)
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[✓] IntelliJ IDEA Ultimate Edition (version 2017.1)
• Dart plugin version 171.4424
• Flutter plugin version 13.1
[-] WebStorm (version 2017.1)
• Flutter plugin not installed; this adds Flutter specific functionality.
• For information about managing plugins, see
https://www.jetbrains.com/help/idea/managing-plugins.html
[✓] Connected devices
• None
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Remove SDK settings from the template project (#1018). Since SDKs are set on a per-project level this doesn’t make sense. Fixes: #1018. — committed to pq/flutter-intellij by pq 7 years ago
- Remove SDK settings from the template project (#1018). (#1022) Since SDKs are set on a per-project level this doesn’t make sense. Fixes: #1018. — committed to flutter/flutter-intellij by pq 7 years ago
File -> Invalidate caches and restart fixed it for me
The issue is pretty common. Please refer to LINK to solve this issue.