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

后端 未结 22 1923
囚心锁ツ
囚心锁ツ 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:26

    If you using wrapper gradlew, in root make directory .gradle_new

    mkdir .gradle_new
    chmod -R 777 .gradle_new
    

    and run gradlew with arguments:

    --project-cache-dir .gradle_new
    

提交回复
热议问题