question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting Flutter SDK path for default project does not set properly

See original GitHub issue

Steps to Reproduce

  1. Open IntelliJ IDE (with Flutter + Dart plugins already installed)
  2. Close all existing projects (ie. you should only see IntelliJ project management window, with Create New Project, etc.)
  3. Click Configure > Settings > Languages & Frameworks > Flutter
  4. Input/Browse for the Flutter SDK Path
  5. Click Apply or OK

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
yulkin2002commented, Aug 5, 2020

File -> Invalidate caches and restart fixed it for me

1reaction
mrinvictocommented, Feb 14, 2019

The issue is pretty common. Please refer to LINK to solve this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to find the path of Flutter SDK - android studio
If you have the flutter SDK installed. Run: flutter doctor -v. The first line will show the install path.. (if you don't have...
Read more >
How to Install and Configure Flutter SDK on Windows 10
How to Install and Configure Flutter SDK on Windows 10 · Step 1: Download Flutter SDK · Step 2: Extract the Files ·...
Read more >
Windows install - Flutter documentation
Get the Flutter SDK. Update your path; Run flutter doctor ; Android setup. Install Android Studio; Set up your Android device; Set up...
Read more >
How to Install Flutter on Visual Studio Code? - GeeksforGeeks
Step 2: Set Environment variable path. After downloading Flutter SDK, extract the file and copy the path of the bin folder. Press WIN...
Read more >
How to Get Path Of a Flutter SDK
Check your echo $PATH to point to the correct folder. Use export PATH=”$PATH:$HOME/flutter/bin” or whatever you need (and you can also include ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found