Android Stuido Gradle Sync failed - Could not get resource 'https:// … /gradle-3.2.0.pom'

前端 未结 2 1527
梦谈多话
梦谈多话 2021-01-21 03:25

i want to start android programming. after i install android studio 3.2 and create new project i get this exception:

org.gradle.api.resources.ResourceException:          


        
相关标签:
2条回答
  • 2021-01-21 03:51

    in build.gradle file I added a maven entry like so:

    allprojects {
        repositories {
            google()
            jcenter()
            maven {
                url 'https://maven.google.com/'
                name 'Google'
            }
        }
    }
    
    0 讨论(0)
  • 2021-01-21 03:57

    Open Android Studio preferences. Under Build,Execution,Deployment > Gradle > Android Studio. Toggle Enable embedded Maven repository. I had a similar problem recently and this fixed it for me. Hope it helps.

    0 讨论(0)
提交回复
热议问题