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?

More than 1 year has passed since last update.

(備忘録)gradleビルド接続中にエラーが発生したため…の解決法

Last updated at Posted at 2021-12-21

記事を見つけてほしい人

  • EclipseでGradleプロジェクトをインポートしようとした際に、普段なら上手くインポートできるのにたまに表題のエラー文にぶち当たる人。
  • GradleプロジェクトでSpotlessを適用しようとしたけど、なぜか失敗しちゃう人。

↓こんな感じ

user@mypc MINGW64 ~/workspace/testProject (master)
$ ./gradlew spotlessApply

FAILURE: Build failed with an exception.

* What went wrong:
Unable to find a usable idle daemon. I have connected to 100 different daemons but I could not use any of them to run the build. BuildActionParameters were DefaultBuildActionParameters{, currentDir...(省略)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

どうすれば良いか

.gradle/daemon/{{version}} フォルダ内のregistry.bin.logファイルなどを全部削除する。以上です。

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?