Gradle Could not HEAD https://..pom > peer not authenticated

后端 未结 4 915
孤独总比滥情好
孤独总比滥情好 2020-12-01 06:19

When you upgrade from gradle 2.0 to 2.1, you may see following error.

Could not HEAD \'https://jcenter.bintray.com/de/undercouch/gradle-download-task/1.0/gr         


        
4条回答
  •  自闭症患者
    2020-12-01 07:07

    I've updated the gradle wrapper to version 2.4, by changing the gradle-wrapper.properties file from:

    distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip
    

    to:

    distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-bin.zip
    

    This solved it for me.

提交回复
热议问题