Can't build Android App with Gradle

后端 未结 2 1748
遥遥无期
遥遥无期 2021-01-22 12:59

I\'m trying to build my Android App using the Gradle command line interface. I\'v also add GRADLE_HOME/bin to the environment. Firstly, i used gradle init to ge

相关标签:
2条回答
  • 2021-01-22 13:44

    There is a problem with the SSL certificate configuration on services.gradle.org right now

    http://discuss.gradle.org/t/urgent-ssl-apache-configuration-for-services-gradle-org-is-bad/8808

    The devs are aware and working on a fix.

    This answer to the same question provides a workaround which may be suitable:

    https://stackoverflow.com/a/29576568/4776802

    0 讨论(0)
  • 2021-01-22 13:53

    Just update gradle/wrapper/gradle-wrapper.properties

    update this:

    -from:

    distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-all.zip
    

    -to:

    distributionUrl=http://services.gradle.org/distributions/gradle-2.3-all.zip
    
    0 讨论(0)
提交回复
热议问题