Updated Android studio to 1.2.2 and the background process wont end.(Refreshing \'MemoryCards\' Gradle project).
It has been more than an hour now and its still busy?
If you get a connection timed out error this is usually a problem of proxies. Try disabling them if you are using proxies.
Also, when gradle is stuck, deleting the .gradle folder in c:\Users\ always helped me.
.gradle
c:\Users\