Skip to content

Empty Dart SDK path is not updated when creating new project is created #1919

@igorwojda

Description

@igorwojda

Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at
github.com/flutter/flutter.

Steps to Reproduce

  1. Create new project (on fresh Inteli Idea with Flutter plugin installed)
  2. delete project
  3. Checkout project from github

Please tell us what you were doing and what went wrong
Error is displayed that Dart SDK is missing and indeed Preferences->languages&Frameworks->Flutter->Flutter SDK Path is empty.

I think when any flutter project is created for the first time and "Flutter SDK Path" in preferences is empty it should be automatically populated for the value used for new project

Version info

Flutter 0.1.5 • channel beta • https://github.com/flutter/flutter.git Framework • revision 3ea4d06340 (3 weeks ago) • 2018-02-22 11:12:39 -0800 Engine • revision ead227f118 Tools • Dart 2.0.0-dev.28.0.flutter-0b4f01f759

Please paste the output of running flutter doctor -v here (available from the command
line or from Tools > Flutter > Flutter Doctor). It will provide the version of the
Flutter framework as well as of the IntelliJ plugin.
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-GB)
• Flutter version 0.1.5 at /Users/igor/flutter
• Framework revision 3ea4d06340 (3 weeks ago), 2018-02-22 11:12:39 -0800
• Engine revision ead227f118
• Dart version 2.0.0-dev.28.0.flutter-0b4f01f759

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/igor/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0

[✓] Android Studio
• Android Studio at /Applications/Android Studio 3.2 Preview.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b01)

[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
• Flutter plugin version 22.2.2
• Dart plugin version 173.4548.30

[✓] Connected devices (2 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)
• iPhone X • F688E97D-1C55-442B-BC34-6F1CA363891A • ios • iOS 11.2 (simulator)

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions