Android Studio stuck on gradle resolving dependencies

后端 未结 15 1270
臣服心动
臣服心动 2020-12-04 22:11

I\'m new to Android Studio and while creating a new project it stuck at resolving dependencies :app:_debugCompile.

I waited for sometime and even tried

15条回答
  •  粉色の甜心
    2020-12-04 22:34

    In my case, I imported the project which was created by someone else. For me it was proxy set in gradle.properties file of the project. I commented below lines in gradle.properties and it worked fine.

    #systemProp.https.proxyPort=8080
    #systemProp.http.proxyHost=10.10.11.12
    #systemProp.https.proxyHost=10.10.11.12
    #systemProp.http.proxyPort=8080
    

提交回复
热议问题