Android Studio: Gradle sync failed: Connection timed out: connect
I copied a project that was created else where. After removing these proxy credentials:
systemProp.http.proxyPassword=your_password
systemProp.http.proxyHost=host_Ip_address
systemProp.http.proxyUser=your_username
systemProp.http.proxyPort=port_number
in the gradle.properties, it worked like a charm.
I think it's a network issue. My project currently fails to build unless I pass the --offline argument to gradle. I think the S3 outage is impacting repos hosting dependencies.
Try ./gradlew tasks --offline
Or, to make android studio run in offline mode, follow the instructions: https://stackoverflow.com/a/32173577/1043518