Gradle :Could not create service of type FileHasher

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

    This worked for me:

    1. Turned off antivirus file protection

    2. Invalidate caches/Restart

    3. Run app

提交回复
热议问题