Android Studio stuck on gradle resolving dependencies

后端 未结 15 1339
臣服心动
臣服心动 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:36

    Check Your gradle.properties file it might be having some system Properties enables. Remove them, you may don't need them

    -systemProp.http.proxyPassword=password
    -systemProp.http.proxyHost=172.18.**.**
    -systemProp.http.proxyUser=user.name
    -systemProp.http.proxyPort=80
    

    Invalidate cache and restart Android studio.

提交回复
热议问题