Arseniy Arseniy - 5 months ago 25
Android Question

AndroidStudio gradle proxy

I've tried to run

But It's failing on boot with

Failed to import Gradle project: Connection timed out: connect

I found solution here

But I can't find how to set this properties in
Android Studio

Setting them in
doesn't help.


In Android Studio -> Preferences -> Gradle, pass the proxy details as VM options.

Gradle VM Options -Dhttp.proxyPort=8080 etc.

*In 0.8.6 Beta Gradle is under File->Settings (Ctrl+Alt+S, on windows)