0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【小ネタ】Android Studio の Dartプラグインで出たエラーの対処(Red Hat が提供している「LSP4IJ」をインストール)

0
Last updated at Posted at 2026-05-07

今回の内容

Android Studio の Dartプラグインをアップデートしたら出たエラーの対処に関する小ネタです。

発生したエラー

505.0.0 の Dartプラグインにアップデートした時に出たエラーは以下の内容でした。

2026-05-07_10-54-12.jpg

発生したエラーに関する対処方法

結論から書くと、直近の Dartプラグインでは、このプラグインを動作させるために、別のプラグインが必要になったようです。解決方法は、Red Hat が提供している「LSP4IJ」をインストールするだけでした。

具体的には、「Plugins」の「Marketplace」で LSP4IJ と検索して出てくるプラグインをインストールすれば OK でした(※ インストール後は、IDE の再起動が求められます)。

2026-05-07_10-59-19.jpg

公式情報を少し見てみる

上記の内容について、公式情報を少し見てみました。以下は、Dart Plugin に関するページのです。

●Dart Plugin for JetBrains IDEs | JetBrains Marketplace
 https://plugins.jetbrains.com/plugin/6351-dart

2026-05-07_11-09-04.jpg

上の画像のように、「What’s New」のところで「Version 505.0.0 — 5 May 2026」の内容として、「Dependency on lsp4ij with basic initialization (#348)」という記載がありました。

ちなみに、Red Hat が提供している「LSP4IJ」は、以下のものになるようでした。

●redhat-developer/lsp4ij: LSP & DAP Client for IntelliJ
 https://github.com/redhat-developer/lsp4ij

この LSP4IJ は、IntelliJ系の IDE用の LSP/DAP クライアントのプラグインで、各言語の Language server や Debug adapter と IntelliJ系の IDE(今回の場合は Android Studio)をつなぐ役割になるようです。

Dart の場合は、Dart Analysis Server などを IntelliJ系の IDE から扱うための橋渡しをする位置づけになるようです。

その他: Web検索して出てきた内容

その他、何らかの情報が出てきているか、Web検索で情報を探してみました。それについては、例えば以下の記事などが見つかりました。ここではリンクの掲載のみとします。

●Why Your Dart Plugin Suddenly Wants LSP4IJ | by Christophy Barth | May, 2026 | Medium
 https://christophybarth.medium.com/why-your-dart-plugin-suddenly-wants-lsp4ij-885be44d2dc3

●com.redhat.devtools.lsp4ij plugin required by new Dart Android Studio plugin : r/flutterhelp
 https://www.reddit.com/r/flutterhelp/comments/1t4ry8x/comredhatdevtoolslsp4ij_plugin_required_by_new/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?