It is currently in use by another Gradle instance

前端 未结 27 964
自闭症患者
自闭症患者 2020-12-04 08:14

I\'m new to Gradle build system. I want to do some basic functions on it. I\'m running/building it in command line. I am referring User guide. And, doing some simple tasks.<

27条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 08:56

    I could be late but look like quick and efficient solution.

    Execute following steps.

    1. Execute ps -ef | grep gradle
    2. Open terminal and move to ~/.gradle/caches path
    3. Execute find ~/.gradle -type f -name "*.lock" | while read f; do rm $f; done

    It's done.

提交回复
热议问题