facebook twitter hatena line email

「Android/kotlin/UnitTest/エラー」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(ページの作成:「 ==stopped Daemonsエラーが出る場合== <pre> $ ./gradlew test Starting a Gradle Daemon, 1 busy and 1 stopped Daemons could not be reused, use --status for details...」)
(相違点なし)

2021年2月5日 (金) 22:25時点における版

stopped Daemonsエラーが出る場合

$ ./gradlew test
Starting a Gradle Daemon, 1 busy and 1 stopped Daemons could not be reused, use --status for details

> Starting Daemon

FAILURE: Build failed with an exception.

* What went wrong:
Gradle could not start your build.
> Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal().
   > Timeout waiting to lock journal cache (~/.gradle/caches/journal-1). It is currently in use by another Gradle instance.
     Owner PID: 84782
     Our PID: 86617
     Owner Operation:
     Our operation:
     Lock file: ~/.gradle/caches/journal-1/journal-1.lock

killすれば良い。

kill -9 84782

テスト時にエラーが出るとき