Android Studio / Intellij, Gradle Error:Cause: peer not authenticated

后端 未结 9 611
忘掉有多难
忘掉有多难 2020-12-08 17:06

Having a fight with IntelliJ at the moment. The darn thing won\'t download Gradle 2.1

I have an Android project hosted on GitHub, which I have cloned to my laptop.

9条回答
  •  失恋的感觉
    2020-12-08 17:48

    "Error:Cause: peer not authenticated."

    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.

提交回复
热议问题