Gradle Could not create service of type InitScriptHandler using BuildScopeServices.createInitScriptHandler()

后端 未结 22 1891
囚心锁ツ
囚心锁ツ 2020-12-05 03:39

I used gradle build command in Centos 7 terminal and I got output:

FAILURE: Build failed with an exception.

* What we         


        
22条回答
  •  攒了一身酷
    2020-12-05 04:31

    The Problem solved by simply using "sudo" and giving access to gradle to create a folder and write cache. use:

    sudo ./gradlew
    

提交回复
热议问题