Gradle :Could not create service of type FileHasher

前端 未结 11 937
南方客
南方客 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:28

    change the ownership of .gradle/ using the following command:

    sudo chown -R  .gradle/ 
    

提交回复
热议问题