Gradle sync failed: Connection refused

后端 未结 29 3048
小鲜肉
小鲜肉 2020-11-29 10:14

So I just installed Android Studio again after a long time and it asked me to configure the proxy, so I did. I tested the connection and it worked.

Then it asked me

29条回答
  •  旧巷少年郎
    2020-11-29 10:29

    For me it worked like this:

    1. -turned off firewall and antivirus
    2. -deleted .gradle file. location: C:\Users\user\.gradle
    3. -restarted android studio
    4. -checked internet connection

    P.S. There is no proxy in my system (windows 8.1)

    and it worked! hope this helps.

提交回复
热议问题