Android studio on mac: remove proxy settings
Gradle daemon retains the reference to proxy even after removing them from the System Preferences. So I had to kill the daemon and start it again to make it work.
I finally fixed my problem, if someone needs the solution:
My old proxy settings were stored in the file