Error when compiling with Gradle (can't find downloaded dependencies)

后端 未结 3 384
礼貌的吻别
礼貌的吻别 2020-12-10 09:06

I develop an app generation system that is regenerating apps by command line Gradle compilation commands.

In my Windows Server 2008, I\'m facing a problem after upda

3条回答
  •  眼角桃花
    2020-12-10 09:41

    Path length cause failure.

    I defined

    "-Dorg.gradle.user.home=%GRADLE_USER_HOME%"
    

    in gradle run parameters and it solved the problem.

提交回复
热议问题