0

I have been working on a project at my office and in weekends I took the laptop to work from home. At office we're working behind proxy (1-2 minutes build time), but at home I am not behind proxy. I have disabled proxy from windows settings and I have a stable internet connection.

Android Studio Flamingo | 2022.2.1

Checked connection from Settings-> Appearance and behavior -> System settings -> HTTP Proxy -> check connection. I have followed literally all suggestions from the post below. Build not happening and it's taking hours. No result.

Android Studio gradle takes too long to build

enter image description here

Stuck with this issue.

Any help will be highly appreciated.

Vishnu Satheesh
  • 541
  • 1
  • 8
  • 11
  • 1
    As you can see on the left side Android Studio is trying to download something. May be you have network problems or the used repository for downloading has a problem. I would restart your system to reset everything. make sure internet access and access to all used repos works without problems. – Robert Jun 11 '23 at 10:50
  • @Robert I had a global .gradle file configured, that created the issue. Please see the answer below. Anyways TYSM. – Vishnu Satheesh Jun 12 '23 at 05:06

1 Answers1

0

Solved..

I was working with multiple Android Studio IDEs and there was a globally configured .gradle file at C:\Users\FM.gradle. This override the Android Studio Flamingo | 2022.2.1 configurations.

enter image description here

Happy Coding.

Vishnu Satheesh
  • 541
  • 1
  • 8
  • 11