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 are loading existing project into new Android studio then it's gradle library version that you have specified in your top level build.gradle file. Check version and move to latest or compatible version for android studio.
In your terminal try :
gradlew clean
Then invalidate caches and its works... It will redownload all libraries from internet and build successfully You can also delete build,.gradle,gradle folders to force re-cleaning
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)
Turning off my VPN solved this for me.
You can reverse to Android Studio 1.4, then the project works.....
And when I update it to 1.5, the project start stucking with refreshing >_<
Might not help, but worth a try~