Flutter Configuragtion on IntelliJ

564 views
Skip to first unread message

charlescl...@gmail.com

unread,
Jul 1, 2017, 5:15:04 PM7/1/17
to Flutter Dev
The Flutter plugin is not being recognized on my IntelliJ "Languages and Frameworks" Preference page; and thus I can't configure the way its suggested in the documentation.  Any ideas what's going on?

Devon Carew

unread,
Jul 1, 2017, 5:51:39 PM7/1/17
to charlescl...@gmail.com, Flutter Dev
What IntelliJ project and version are you installing it in? If it showed up in the Plugins pref page as available to install, it should display in the Languages and Frameworks preference section.

I would restart IntelliJ just to level-set things. If you still don't see it, perhaps there might be some indication of the issue in the IntelliJ log? (Available from Help > Show log)

On Sat, Jul 1, 2017 at 1:59 PM, <charlescl...@gmail.com> wrote:
The Flutter plugin is not being recognized on my IntelliJ "Languages and Frameworks" Preference page; and thus I can't configure the way its suggested in the documentation.  Any ideas what's going on?

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Devon Carew
Software Engineer
Google, Inc.

shoum...@gmail.com

unread,
Aug 17, 2017, 3:14:54 PM8/17/17
to Flutter Dev, charlescl...@gmail.com
Hi - I am experiencing the same issue. Cloned the Flutter repo today on my Windows machine and installed IntelliJ IDEA Version 2017.2.2. Installed the Dart and Flutter plugins as advised in the Flutter guidelines. But I am unable to specify the Flutter SDK path under Languages and Frameworks. Flutter is not listed as an option.

It appears that I have to specify the Flutter SDK path every time I create a new project. Not difficult - just an extra task. :)

Log says this:

[   1243]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Dart (172.3757.55), Flutter (16.0) 
2017-08-17 23:12:01,128

No visible error for the Flutter plugin. Restarts didn't help.

Any help would be appreciated. I am new to Flutter and Dart.

Thanks


On Sunday, 2 July 2017 03:21:39 UTC+5:30, Devon Carew wrote:
What IntelliJ project and version are you installing it in? If it showed up in the Plugins pref page as available to install, it should display in the Languages and Frameworks preference section.

I would restart IntelliJ just to level-set things. If you still don't see it, perhaps there might be some indication of the issue in the IntelliJ log? (Available from Help > Show log)
On Sat, Jul 1, 2017 at 1:59 PM, <charlescl...@gmail.com> wrote:
The Flutter plugin is not being recognized on my IntelliJ "Languages and Frameworks" Preference page; and thus I can't configure the way its suggested in the documentation.  Any ideas what's going on?

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Thomsen

unread,
Aug 18, 2017, 5:46:19 AM8/18/17
to shoum...@gmail.com, Flutter Dev, charlescl...@gmail.com
The Flutter SDK path setting is per-project (this gives you some extra flexibility if you need multiple SDK versions across various apps), and thus only visible when you have a Flutter project open.

But once you have specified it during project creation, we should default to that same value when you create additional projects. Does that not work?

To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.

Shoumik Das

unread,
Aug 18, 2017, 1:27:29 PM8/18/17
to Michael Thomsen, Flutter Dev, charlescl...@gmail.com
Hi Mike,

I just tested. Yes, that works on a per-project basis. Thank you very much. I was wondering if it was a one-time setting. :)

Ran into a different error though. Will post it in a different thread:

Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Observatory connection never became ready.
Application finished.

Could this error be related to the SDK path setting? Any advice would be greatly appreciated as I am just setting up my Flutter shop!!

Virus-free. www.avast.com

Thanks & Regards
Shoumik Das

rickb

unread,
Aug 18, 2017, 3:26:08 PM8/18/17
to Flutter Dev
You need to set the Java SDK and the Android SDK in the Project Settings dialog (I get to this by double clicking on the project line in the project window).  You need to do the following in order:

  1. Under 'Project', point to the location of the JDK, and select 'Project language level' to '9-Modules, private methods in interaces, etc.
  2. Under 'SDK' select the Android SDK version you want to use.

You likely have to reset all this after updates.

That worked for me.

Shoumik Das

unread,
Aug 19, 2017, 10:52:32 AM8/19/17
to rickb, Flutter Dev
Thanks for the suggestion. My Android installation got messed up somehow after an update. Had to reinstall the sdk to fix the issue.

--
You received this message because you are subscribed to a topic in the Google Groups "Flutter Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/flutter-dev/KhobXcgYwQc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to flutter-dev+unsubscribe@googlegroups.com.

janhavid...@gmail.com

unread,
Mar 5, 2018, 12:43:26 PM3/5/18
to Flutter Dev
Hello,

I too faced the same problem.
Just click on Create New Project. You'll be able to see the Flutter option in it.
Hope it helps.
Reply all
Reply to author
Forward
0 new messages