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

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

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

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

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

提交回复
热议问题