Vishwa_007
Vishwa_007

Reputation: 35

So when I started new project in android studio, where the build output shows "Connection refused: connect"

and also I can't see my design part of xml code. Kindly let me know what we can do,

I tried:

  1. invalidating caches and restarting android studio.
  2. build -> clean project -> build -> rebuild project.

Connection refused: connect

Upvotes: 2

Views: 83

Answers (1)

Zhming
Zhming

Reputation: 343

In my case, I verified that in File > Settings> HTTP proxy, I had checked the "no proxy" option. Then I created an exception in my antivirus for Android Studio and deleted the lines of proxy configuration of my gradle.properties file. Finally, I clicked on Sync Project with gradle files and it worked.

Upvotes: 1

Related Questions