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?
In my case it was a wrong path in the file->settings->tools->gardle .. just remove the path then apply.
Then restart android studio (you may need to end task)