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

后端 未结 9 636
忘掉有多难
忘掉有多难 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 18:04

    I've fixed this issue by adding the following to my build.gradle:

    repositories { 
            maven { 
                url 'http://repo1.maven.org/maven2'; 
            } 
    } 
    

    Once done, try syncing and rebuilding your project. Hope this was helpful.

提交回复
热议问题