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

后端 未结 9 642
忘掉有多难
忘掉有多难 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:57

    When I updated to Android Studio 1.0 I found that I need to update to use 1.0.0 version of gradle.

    Inside of the build.gradle file I had

      dependencies {
            classpath 'com.android.tools.build:gradle:1.0.0-rc2'
    

    I changed it to remove the "-rc2"

      dependencies {
            classpath 'com.android.tools.build:gradle:1.0.0'
    

提交回复
热议问题