flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

Not compatible with the version of your running IDE Build #IU-242.20224.300, built on August 7, 2024 #7595

Closed 20156284 closed 2 months ago

20156284 commented 3 months ago

![Uploading WX20240807-165126@2x.png…]()

westito commented 3 months ago

Same here. It's actually an IntelliJ bug/missing feature I think. However Flutter team should release a compatible plugin before a new IntelliJ version released.

Please comment to make it priority: https://youtrack.jetbrains.com/issue/IDEA-357261/IntelliJ-automatically-install-update-without-ensure-all-plugins-have-compatible-version

There is an older issue (3 years old!!) with this problem but JetBrains doesn't deal with it.

dodger82 commented 3 months ago

Plugin not available for IDEA 2024.2.

mitsh commented 3 months ago

same here

bcihanc commented 3 months ago

2024.2 includes many improvements. We are looking forward to.

cosminm-affnd commented 3 months ago

Same here

chardinson commented 3 months ago

Message error:

Plugin 'Flutter' (version '81.0.2') is not compatible with the current version of the IDE, because it requires build 241.* or older but the current build is IC-242.20224.300

0xJAS commented 3 months ago

Same here

cavar commented 3 months ago

Same here

Apokalypser commented 3 months ago

Same here

Frodonche commented 3 months ago

Same here

synstin commented 3 months ago

Same here

endruszeit commented 3 months ago

Same here

bbapplications commented 3 months ago

Same here

RafaelFontes commented 3 months ago

+1

jwren commented 3 months ago

Thank you all for the comments and +1's.  Yes, this roll does not yet include support for 2024.2. The Flutter plugin builds have been more robust in recent quarters when compiled directly against the Android Studio IDE, which we cannot yet be built against yet.

While this page, https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html, indicates that Android Studio Ladybug 2024.2.1.1 was available to download starting this past Monday (August 6th, 2024), when I try to validate the Flutter IJ sources against this version of Android Studio with Gradle to do a build (even today, August 8th, 2024), I am still seeing the following:

verifyPluginConfiguration for BuildSpec(android-studio 2024.2.1.1 242.20629 242.20629 242.* version: "null"):  
./third_party/gradlew verifyPluginConfiguration    
FAILURE: Build failed with an exception.
    * What went wrong:
    *   A problem occurred configuring root project 'flutter-intellij'.
    *   > Failed to query the value of task ':runIde' property 'ideDir'.
    *      > Cannot resolve Android Studio with provided version: 2024.2.1.1

As soon as we can create a roll and test it, we will push out a point-release version of the Flutter IntelliJ plugin which works with 2024.2.

xweiba commented 3 months ago

Temporary solution: Download the offline package, open flutter-intellij.zip\flutter-intellij\lib\instrumented-flutter-idea-80.0.2.jar\META-INF\plugin.xml, change the until-build value to be greater than or equal to 242.*, then save and perform a local installation.

I have been using it for a morning and haven't encountered any issues so far, but I still hope for an update soon.

bcihanc commented 3 months ago

Temporary solution: Download the offline package, open flutter-intellij.zip\flutter-intellij\lib\instrumented-flutter-idea-80.0.2.jar\META-INF\plugin.xml, change the until-build value to be greater than or equal to 242.*, then save and perform a local installation.

I have been using it for a morning and haven't encountered any issues so far, but I still hope for an update soon.

Thanks for temporary solution mate. It also works with 81.0.2.

kiratheone commented 3 months ago

it's been quite a long wait to get the latest plugin version :(

Temporary solution: Download the offline package, open flutter-intellij.zip\flutter-intellij\lib\instrumented-flutter-idea-80.0.2.jar\META-INF\plugin.xml, change the until-build value to be greater than or equal to 242.*, then save and perform a local installation.

I have been using it for a morning and haven't encountered any issues so far, but I still hope for an update soon.

Thank you for temporary solution @xweiba

mitsh commented 3 months ago

Temporary solution: Download the offline package, open flutter-intellij.zip\flutter-intellij\lib\instrumented-flutter-idea-80.0.2.jar\META-INF\plugin.xml, change the until-build value to be greater than or equal to 242.*, then save and perform a local installation.

I have been using it for a morning and haven't encountered any issues so far, but I still hope for an update soon.

@xweiba you are life saver! thanks.

Apokalypser commented 3 months ago

I always get an error after trying to locally install the modified plugin. Could someone upload a working modified zip? Thank you very much.

mitien commented 3 months ago

@Apokalypser not sure posting "hijacked" plugin is appropriate here, but there is step by step for windows: 1)download https://plugins.jetbrains.com/plugin/9212-flutter/versions/stable/582965 2) open with 7zip and perform changes mentioned above: 2a) navigate to flutter-intellij.zip\flutter-intellij\lib\instrumented-flutter-idea-80.0.2.jar\META-INF\plugin.xml 2b) press F4 (it will open file in your editor. eg. notepad) 2c) search for "until-build" 2d) change it to 242.* 2e) close editor and selected "save" ( it might be temp folded but doesn`t matter) 3) close 7zip and accept changes and archive updates 4) Open IntelliJ or Android Studio and install that plugin from local zip (gear icon) 5) Wait for official plugin update

cHAuHaNz commented 3 months ago

Here's the temporary fix:

  1. Download flutter-intellij.zip
  2. Open your 2024.2 IDE
  3. Go to Plugins section in settings
  4. Click on ⚙️ icon next to Installed tab
  5. Choose 🔌 Install Plugin from Disk...
  6. Select the file and restart your IDE
  7. Benefit 🫰🏻

Keep an eye on official plugin for updates

tasselx commented 3 months ago

It's been so many days and no adaptation has been done, are you ready to drop support?

TheQuyen97ht commented 3 months ago

We're hoping to get the update soon since the plugin stops us from doing anything on our ongoing Flutter projects

cHAuHaNz commented 3 months ago

@TheQuyen97ht You can continue working on your flutter projects using this meanwhile

hpoul commented 3 months ago

Or just downgrade intellij, which takes like 5 seconds in jetbrains toolbox 🤷🏻

enisingec commented 3 months ago

Here's the temporary fix:

  1. Download flutter-intellij.zip
  2. Open your 2024.2 IDE
  3. Go to Plugins section in settings
  4. Click on ⚙️ icon next to Installed tab
  5. Choose 🔌 Install Plugin from Disk...
  6. Select the file and restart your IDE
  7. Benefit 🫰🏻

Keep an eye on official plugin for updates

I applied exactly what you said, I wonder why it stays on the white page when I run my project ?

cHAuHaNz commented 3 months ago

I applied exactly what you said, I wonder why it stays on the white page when I run my project ?

Getting anything in logs or something? All of my projects are running just fine.

Flutter 3.24.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 80c2e84975 (13 days ago) • 2024-07-30 23:06:49 +0700
Engine • revision b8800d88be
Tools • Dart 3.5.0 • DevTools 2.37.2
enisingec commented 3 months ago

Getting anything in logs or something?

it was my fault because of the stupid antivirus program that was blocking flutter :/ thanks a lot and sorry for disturbing you. 👍

Edit: Unfortunately, I continue to have a problem, is bug, someone lived here and the solution was to press F5 in chrome. #153165

rajrushilmakkar commented 2 months ago

Is there any ETA on when the new plugin version would be released?

palmerovicdev commented 2 months ago

How can I change that? How do you manage to open the .jar and change that and then have it right?

Angeloem commented 2 months ago

Flutter package is usually late when Intellij does a major version shift. This is not the first time I experience this.

I'm wondering why they usually set current Idea version as max supported version(Or so I think). Other packages dont do this

rafaeltoledo commented 2 months ago

Instead of all this workaround, use JetBrains Toolbox, and download the 2024.1.x version

Captura de Tela 2024-08-13 às 13 43 22

After that, check the option to continue using 2024.1 until there's a new release of the plugin.

Captura de Tela 2024-08-13 às 13 45 56