I wanted to try out flutter with IntelliJ, so I followed the order of https://flutter.io/setup-macos/ and everything worked out. But today, out of nowhere, it doesn't work anymore. I can run my code, but reload and hot reload is disabled. So I'd have to close and restart everything, every time, I'd like to see a change. "flutter doctor" tells me:
IntelliJ IDEA Ultimate Edition (version 2017.2.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 172.4155.35
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
But I looked it up, and flutter clearly was installed. I honestly sit here for 5 hours now, trying to figure it out, but I just can't find the problem. I deleted and reinstalled Flutter, Dart and IntelliJ like 4 times now, but it didn't work either.
Flutter in generall works, at least I can run the app in the terminal, so the problem got to be with IntelliJ. I also deleted the following folders:
macOS
~/Library/Application Support/IntelliJIdeaXX
~/Library/Preferences/IntelliJIdeaXX
~/Library/Caches/IntelliJIdeaXX
~/Library/Logs/IntelliJIdeaXX
Does anyone have an idea of what I can do now?
It was reported several times recently. master is the development branch with some newer code. alpha dev (default) is the recommended channel, but there are currently issues with dev which are already fixed in master. dev will be updated soon and it's recommended to switch back to dev when the fixes have landed.
flutter channel master
to switch back later
flutter channel alpha
flutter channel dev
In case somebody is still looking for an answer for this... Jetbrains has changed the plugins directory since the 2020.x versions (2019 - 2020)
Windows:
from: %HOMEPATH%\.\config\plugins
to: %APPDATA%\JetBrains\\plugins
MacOS:
from: ~/Library/Application Support/
to: ~/Library/Application Support/JetBrains//plugins
Linux:
from: ~/./config/plugins
to: ~/.local/share/JetBrains/
To fix the problem before a flutter update, I just created a symbolic link of my plugins directory (I use mac):
ln -s /Users/xxx/Library/Application\ Support/JetBrains/IntelliJIdea2020.1/plugins /Users/xxx/Library/Application\ Support/IntelliJIdea2020.1
That did the trick for me! I hope it helps others as well :)
Cheers.
Related
I am trying to get jetbrain's rust course working but I have this problem:
I have installed the rust toolchain and the rust plugin. When I click update on the problem this comes up:
so I press ok and nothing happens. Does anyone know what the problem could be?
I am using Intellij community with the education version and I am on a windows machine.
This is caused by https://youtrack.jetbrains.com/issue/EDC-740/Cannot-start-Learn-Rust-Course
Please try the course again and it should work now.
The problem here is that the course published from nightly plugin version where a new version of the archive format was introduced (15).
As a result, stable plugin complains that it doesn't support the new format version but at this moment there isn't new stable version with new format support
An archive generated with the stable EduTools is uploaded, the corrupted version is hidden. It should be ok now.
In Netbeans 12.2 on Ubuntu 18.04 (using that snap install), for my C++ plugin I have that first image. When I try to create a new project I get that second image. That is some kind of a lightweight version that does not do your makefiles for you. If I try to open an existing C++ project it just never IDs any project file or folder as the right one. And notice that this version does not include a "Create from source code".
Does anyone know how I can install the "real" c++ plugin? I've looked in a lot of tutorials but they all say it should be there under Available Plugins, but it is not there.
This comes very late but it seems that Netbeans 12 lacks some components for this.
Therefore you must enable Netbeans 8.2 Plugin Portal from Plugins Settings.
Then deactivate the C/C++ and then force updates from Updates -> Check for Updates. Restart IDE and install 8.2 C/C++ plugin.
Note: I have lead into this problem now because unpack2000 is no more present.
The validation of downloaded plugins cannot be completed, cause: NBM ../.netbeans/12.4/update/download/org-netbeans-modules-cnd-kit.nbm needs unpack200 to process following entries:
netbeans/modules/locale/org-netbeans-modules-cnd-kit_ja.jar.pack.gz
netbeans/modules/locale/org-netbeans-modules-cnd-kit_pt_BR.jar.pack.gz
netbeans/modules/locale/org-netbeans-modules-cnd-kit_ru.jar.pack.gz
netbeans/modules/locale/org-netbeans-modules-cnd-kit_zh_CN.jar.pack.gz
netbeans/modules/org-netbeans-modules-cnd-kit.jar.pack.gz
This can be resolved by installing jre-11 (if it is not present already. I have it on Opensuse Thubleweed amogst with jre-16).
So then you just start netbeans from terminal with:
$ netbeans --jdkhome "/usr/lib64/jvm/jre-11"
...and then install blugin, and when it is ready close netbeans and start it normally again.
Just wanted to report that the answer from Devspain also works with Netbeans 14, in Ubuntu 22.04.
After upgrade to MacOS Catalina (or maybe unrelated) show intent actions command stopped working in Flutter.
If I run some error - show intent action is working just fine. https://take.ms/Jr7VY
If I just try to show intent actions for regular Widget - it isn't showing anything. In the past it was suggesting something like "Center Widget", "Add Widget", "Add Padding" and so on..
UPD: Updating to Android Studio 3.6 preview helped the problem (I didn't move any profiles). But still no idea what lead to the problem and how to fix on 3.5 stable.
Does visual studio code works fine with showing intent action?
Maybe you should run fluter doctor to find if there are any issues with the flutter installation.
Also you can find more details in the official wiki on Catalina Support:
https://github.com/flutter/flutter/wiki/State-of-Catalina-Support
Are IntelliJ plugins up to date? Especially flutter and dart? After reset all settings IntelliJ, reinstall plugins again its not flutter side problem, I think it’s IntelliJ problem
Try updating to Android Studio 3.6 (currently in RC1 Preview).
You might want to check the Keymap.
I found that in 3.6 with the default Keymap option-return worked but when I switched to Eclipse (macOs) Keymap, it stopped working again.
Search for "intention". When using the Eclipse (macOS) Keymap I found that the intentions command was not setup to use option-return so I added it and it works.
The solution is to download another Android Studio version (doesn't matter which) and install it. Helped two times.
as already described in title, i'm not able to open the project structure dialog window in intellij anymore.
neither the shortcut (Ctrl+alt+shift+s) nor the menu element under File -> Project Structure nor the little button in the upper right corner do work.
Clarification: Menu element :
This "bug" occured suddenly as I wrote a web (vaadin/maven) project and tried to set up glassfish, where i often had to switch to the project structure dialog.
Since the first occurence i wasn't able to fix it by restarting intellij or switching projects.
This also happened on my laptop running the same intellij and windows version (Ultimate 13.0.1 Build: 133.331 on Windows 7 x64)
i appreciate any help!
This also happened to me, but removing new plugins etc didn't help.
Nor did nuking my project and rebuilding it from scratch.
In the end I deleted all caches, restarted Intellij and at last I could access the project settings again! By the way, I'm using Intellij 11.1 - mainly because I can't get 13 to start up, but that's another story
Your log shows that it is a bug in IntelliJ IDEA - they are trying to create file passing null pathname. Try to delete project files and reopen project from scratch (maybe you've lost some file) - if it won't help then you should create an issue here: http://youtrack.jetbrains.com/ - You can even copy-paste text from your question and attach stacktrace
I had the same issue...upon further inspection in the log dump...I noticed the following:
ERROR - llij.ide.plugins.PluginManager - com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
java.lang.NoSuchMethodError: com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
at com.jetbrains.python.sdk.PythonSdkType.getHomeChooserDescriptor(PythonSdkType.java:247)
Disabled the latest Python Plugin and restarted and everything is working normal again.
I remembered I had recently update my python plugin and am not using it presently so I was able to disable it without issue.
Hope this helps someone else.
This also happened to me. The comment above helped. I had just added some plugins. Disabled them and it started working again. Not sure exactly which one because I disabled all 4 -- Bean Validation Support, Bitbucket, Jelastic Cloud Platform Integration, and Quick Notes.
For me it has been resolved by switching off FindBugs plugin and restart IDEA. So Project Structure is available for me now.
One of the plugins might be causing it. To disable a plugin, go here:
You'll know for sure if a plugin is bad if you see this Exclamation picture:
Clicking on it will bring up a pop-up. To disable the plugin, click on this:
For me it got resolved just by restarting the intelliJ IDEA. I'm using intelliJ IDEA Ultimate 2018.1 edition.
After a fresh install of Lion and Xcode 4.1 from the Mac App Store, I would like to install another version of Xcode alongside.
I heard that this perfectly safe to install it in another directory (considering the first to be on /Developer). The only thing to remember is that running xcodebuild would result in launching the last one installed.
But I have another issue while installing it, even f I changed the directory it clearly says that it will upgrade Xcode Toolset, System Tools and UNIX Development and that they can only be located is /Developer and for one installation per system, here is a screenshot :
So how to have another clean instance of Xcode and SDKs without screwing up the production one ?
Thanks a lot.
It doesn't seem to be possible to install the System Tools on both versions. I've never had success with that.
One thing to note, if you install an older version of xCode side-by-side with the latest version, the "Build Archive" function in the Organizer will not function. The only remedy I found was to remove both xCodes and reinstall the one I wanted to use for building the archive. It was a painful process.
Actually you can do this (or at least I seem to be able to). At times I have had three separate instances of XCode installed - an older XCode 3.x (which I've subsequently gotten rid of), an XCode 4 production, an XCode 5 beta; all in separate directories.
The key thing for me was calling the command line tool to tell which system is the "primary" xcode for the purposes of running xcodebuild, instruments, agvtool and a bunch of others: xcode-select -switch /Developer (just man xcode-select ftw).
So, I have a 4.0.2 build as primary now, and keep upgrading the iOS5 betas. I try them out, but when I want to cut a production build using 4.0.2, I ensure that my system knows that /Developer is current, switching it if I need to. FWIW, there is risk that the single-set-of-System-tools could be broken when you replace them with the latest set, but that's (so far) never hit me.
Also, for reference there is another discussion along similar lines here: Install xCode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs