Android Studio Gradle build failed. Error:Cause: peer not authenticated

前端 未结 23 1864
离开以前
离开以前 2020-12-03 04:54

I have already created one project and gradle sync worked successfully.

When I try to create another project it fails and gives the error message that



        
23条回答
  •  长情又很酷
    2020-12-03 05:16

    There is one more small change can help you in

    gradle-wrapper.properties

    Change

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

    To

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

    Sync the project once you did the change

提交回复
热议问题