Gradle :Could not create service of type FileHasher

前端 未结 11 957
南方客
南方客 2020-12-14 06:44

I\'m using Gradle to build a java project. When I run any task (assemble, test). I get randomly an error :

Could not create service of type FileHasher using         


        
11条回答
  •  一个人的身影
    2020-12-14 07:39

    I had the same issue and the solution was to login with the correct user and then run gradle. I was logged in with a user that didn't had rights to run the tasks.

提交回复
热议问题