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

前端 未结 23 1879
离开以前
离开以前 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条回答
  •  旧时难觅i
    2020-12-03 05:22

    As this occurs I using Ubuntu: When I changed version on android studio 2.0 9 preview beta 1.

    How do I fix my gradle.

    Simply created a new project in android studio and then went in and saw build.grandle version gradle in my case:  

     dependencies {
             classpath 'com.android.tools.build:gradle:2.0.0-beta1'
         }
    

    and replace in my project.

    I hope it helps others.

提交回复
热议问题