I have been trying to create app engine module using java.It has been working well .But now it suddenly start to show error
Error:Execution failed for task \
I had the same issue and I fixed it by specifying the proxy settings in gradle.properties file. Next to backend build.gradle file, I've created gradle.properties file and put there this:
systemProp.http.proxyHost=<prox_host>
systemProp.http.proxyPort=<proxy_port>
Specifying the proxy properties in Studio did not help me.
The problem was firewall blocking studio to update new library.When I disable firewall it works fine.
As far as I know, connection timing out is a network problem .Go to File > Settings > Appearance and Behaviour > System Settings > HTTP Proxy and make sure your proxy settings look like this:
Perform gradle sync and see how it goes.