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?
This happened to me quite a few times and there is no single solution.You should try some of the solutions mentioned below.
File -> Invalidate Caches / Restart
Select the correct Gradle distribution by going to Settings/Preferences -> Build,Execution, Deployment -> Gradle
and select the path for local Gradle distribution
Restart your computer